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] Cannot read properties of null (reading 'start') #2167
Comments
I fixed that problem, could you give me permission to push my commit? |
had this issue pop up for me the other day. there was some naive typing on my part passing down null instead of undefined and, unless i'm missing something, some naive typing in framer letting you pass in null when null isn't expected and breaks
this check should probably look to exclude null like |
I've also just encountered this error after updating an older project — the project worked fine before, will update here if I find out why it's happening in my case — I can't find any reference to animation controls in my next js directories. |
I think it's just a simple problem. We can solve it easily if I have permission to push commit and raise a PR. |
Yes, I was using a seperate library for detecting whether the element was in the viewport and returning a null to |
1. Read the FAQs 👇
2. Describe the bug
In the
motion/packages/framer-motion/src/animation/utils/is-animation-controls.ts
file, variablev
can be null. So we can't get start of that variable.3. IMPORTANT: Provide a CodeSandbox reproduction of the bug
https://codesandbox.io/s/dry-sound-hvcyno?file=/src/App.js
4. Steps to reproduce
Steps to reproduce the behavior:
5. Expected behavior
check out the console
The text was updated successfully, but these errors were encountered: