TypeError: Cannot read properties of undefined (reading 'getValue')
See original GitHub issueI’m using your great module on my all projects but i couldn’t implement to new one.
I got this error when “open state” to true. -> “TypeError: Cannot read properties of undefined (reading ‘getValue’)”
my dependencies: “react-spring-bottom-sheet”: “^3.4.0”, “next”: “12.1.4”, “react-dom”: “18.0.0”,
Code:
const [open, setOpen] = useState(false)
return (
<>
<button onClick={() => setOpen(true)}>Open</button>
<BottomSheet open={open}>My awesome content here</BottomSheet>
</>
)

Issue Analytics
- State:
- Created a year ago
- Reactions:8
- Comments:20
Top Results From Across the Web
TypeError: Cannot read property 'getValue' of null at ...
But I'm getting error message onLoad: TypeError: Cannot read property 'getValue' of null at welcomeAlert. If my code looking like code below ...
Read more >TypeError: Cannot read property 'getValue' of undefined
The problem is not the getvalue, the problem is the undefined. the engine has been given a reference to a data object that...
Read more >Cannot Read Property of Undefined in JavaScript - Rollbar
TypeError: Cannot read property of undefined occurs when a property is read or a function is called on an undefined variable.
Read more >Cannot read property 'getValue' of undefined" | SAP Community
"Uncaught TypeError: Cannot read property 'getValue' of undefined" ... Hi all ,. I am trying to do CRUD operations using my own OData...
Read more >Uncaught TypeError: Cannot read property of undefined In
Uncaught TypeError: Cannot read property of undefined ... JavaScript TypeError is thrown when an operand or argument passed to a function is incompatible...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It seems to be working in
3.5.0-alpha.0
@joshuaellis I have gone ahead and made the changes needed to upgrade to
react-spring
v9.4.5