Marto Posted July 10, 2021 Share Posted July 10, 2021 First of all love the new Plugin. Have a question tho. In the demo "Smoothly change flex direction" the animation is very fluid. If there is more content after the container on which flip animation was used, there will be significant layout shift, because of the absolute positioning applyed in the Flip options. What is worse the content after goes behind the content of the flipped container. See the Pen JjNXMbg by martinboykov (@martinboykov) on CodePen The question is can this be prevented? There are probably few flip techniques posted in this forum prior the release of the plugin. Two of them, not as fluid as the plugin, but nonetheless are getting the job done. See the Pen gOWrjEa by martinboykov (@martinboykov) on CodePen See the Pen mdmPpWr?editors=0010 by martinboykov (@martinboykov) on CodePen Link to comment Share on other sites More sharing options...
OSUblake Posted July 10, 2021 Share Posted July 10, 2021 Hi Marto! Your dummy element isn't include in the animation. const state = Flip.getState(".group, .box, .dummy"); 3 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now