-
-
Notifications
You must be signed in to change notification settings - Fork 849
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] with new version 11.0.24 #2602
Comments
I reverted to version 10.16.4, but still get the error. Yet, webpack compiles my code with no errors. (the error is shown with sublime text (build 4169) build) |
I encountered this problem when building. This bug may be related to typescript. I reverted to version 5.3.3 and the error will not be reported when building |
A little more detail — changes were made to TS v5.4 which it sounds like would be the culprit. Quickly skimming the release notes, I see that there were changes in strictness for narrowing and changes to libs. Release notes are here:
What I can ascertain quickly is that Please let us know when it's updated, and thanks for the great work! |
I think this issue was fixed in commit ff8b1af and I no longer get the error in the latest version. I guess this issue can be closed. |
1. Read the FAQs 👇
2. Describe the bug
on compile I get
Give a clear and concise description of what the bug is.
3. IMPORTANT: Provide a CodeSandbox reproduction of the bug
A CodeSandbox minimal reproduction will allow us to quickly follow the reproduction steps. Without one, this bug report won't be accepted.
4. Steps to reproduce
Steps to reproduce the behavior:
5. Expected behavior
A clear and concise description of what you expected to happen.
6. Video or screenshots
If applicable, add a video or screenshots to help explain the bug.
7. Environment details
If applicable, let us know which OS, browser, browser version etc you're using.
FAQs
"use client"
errorWe would accept a PR implementing
"use client"
(see previous discussion). In the meantime a workaround is:Framer Motion won't install
Framer Motion 7+ uses React 18 as a minimum. If you can't upgrade React, install the latest version of Framer Motion 6.
height: "auto"
is jumpingAnimating to/from
auto
requires measuring the DOM. There's no perfect way to do this and if you have also applied padding to the same element, these measurements might be wrong.The recommended solution is to move padding to a child element. See this issue for the full discussion.
Preact isn't working
Framer Motion isn't compatible with Preact.
AnimatePresence
isn't workingHave all of its immediate children got a unique
key
prop that remains the same for that component every render?Is the
AnimatePresence
correctly outside of the controlling conditional?AnimatePresence
must be rendered whenever you expect anexit
animation to run - it can't do so if it's unmounted!The text was updated successfully, but these errors were encountered: