Comments (6)
I also received this flickering animation weirdness. It seems that downgrading from framer-motion
v11
to v10
fixed the issue however. Just sharing this as a workaround until it's properly fixed.
As an aside - I noticed that using layout={true}
prop in a framer motion div inside of the modal doesn't work at all, the smooth transitions are completely broken and non-existant. For example if you have a motion.div with a changing width in a modal and you give it the layout prop, normally the width change would be smooth and animated but when rendering in a modal it's instantaneous, ie broken.
from nextui.
Hello all! this one is fixed by #2426.
from nextui.
ENG-394 [BUG] - MODAL ANIMATION
from nextui.
encountered the same issue "errors.mjs:8 You are trying to animate y from "0px" to "var(--slide-enter))". 0px is not an animatable value - to enable this animation set 0px to a value animatable to var(--slide-enter)) via the style
property."
from nextui.
errors.mjs:8 You are trying to animate y from "0px" to "var(--slide-enter))". 0px is not an animatable value - to enable this animation set 0px to a value animatable to var(--slide-enter)) via the style
property.
same for me too
from nextui.
i have overriden motion props with this one and seems no error now
motionProps={{
variants: {
enter: {
y: 0,
opacity: 1,
transition: {
duration: 0.3,
ease: "easeOut",
},
},
exit: {
y: -20,
opacity: 0,
transition: {
duration: 0.2,
ease: "easeIn",
}
}
}
}}
from nextui.
Related Issues (20)
- [Feature Request] Most of Wanted Components can be copied from here 👀 HOT 2
- [BUG] - Autocomplete -- controlled component doesn't work with async filtering HOT 3
- [Feature Request] Table nested column key HOT 2
- [Feature Request] Autocomplete should expose label slot HOT 1
- [Feature Request] A closable sidebar, date/time picker, statistics, progressbar with segment. HOT 1
- [Feature Request] In table component custom checkbox component. HOT 5
- [BUG] - Next-UI in-build tailwind css not working in Storybook HOT 1
- [BUG] - Some user links in support us section led to 404 pages. HOT 2
- [BUG] - Motions on mobile screens HOT 2
- [BUG] - Next UI Input type="number" not displaying the browser default error message HOT 1
- [BUG] - Link element reloading page on Astro HOT 1
- [BUG] - DROPDOWN_BUN_ISSUES HOT 4
- Next UI Autocomplete not re-rendering updated value options on defaultItems change HOT 3
- [BUG] - Form submission doesn't respect isRequired attribute of RadioGroup HOT 3
- [Feature Request] I don't want to see aria-lable warning HOT 1
- [BUG] - Select controlled mode not support number key HOT 2
- Warning: React does not recognize the `originalProps` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `originalprops` instead. If you accidentally passed it from a parent component, remove it from the DOM element. HOT 4
- [BUG] Checkbox group onchange incorrect type HOT 1
- [Feature Request] Improving installation instructions in the guide HOT 2
- [Feature Request] Specifying tailwindcss group name HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextui.