Doesn't work in React Vite
I got BottomSheet working in Next.js but in React I get the following error:
`web.js:508 Uncaught TypeError: Cannot read properties of undefined (reading 'getValue')
at web.js:508:57
at Array.map (
at http://127.0.0.1:5173/node_modules/.vite/deps/react-spring-bottom-sheet.js?v=e089520f:6403:25
at http://127.0.0.1:5173/node_modules/.vite/deps/react-spring-bottom-sheet.js?v=e089520f:10940:14
at Portal2 (http://127.0.0.1:5173/node_modules/.vite/deps/react-spring-bottom-sheet.js?v=e089520f:1716:24)
at http://127.0.0.1:5173/node_modules/.vite/deps/react-spring-bottom-sheet.js?v=e089520f:11312:15
at Mahnegar (http://127.0.0.1:5173/src/components/Mahnegar.jsx?t=1690450579063:49:16)
at RenderedRoute (http://127.0.0.1:5173/node_modules/.vite/deps/react-router-dom.js?v=e089520f:3115:5)
at Routes (http://127.0.0.1:5173/node_modules/.vite/deps/react-router-dom.js?v=e089520f:3483:5)
at div
at Router (http://127.0.0.1:5173/node_modules/.vite/deps/react-router-dom.js?v=e089520f:3430:15)
at BrowserRouter (http://127.0.0.1:5173/node_modules/.vite/deps/react-router-dom.js?v=e089520f:3851:5)
at SessionAuth (http://127.0.0.1:5173/node_modules/.vite/deps/chunk-BOIIUMNT.js?v=e089520f:69:25)
at UserContextProvider (http://127.0.0.1:5173/node_modules/.vite/deps/chunk-BOIIUMNT.js?v=e089520f:40:25)
at UserContextWrapper (http://127.0.0.1:5173/node_modules/.vite/deps/chunk-BOIIUMNT.js?v=e089520f:48:17)
at SessionAuthWrapper (http://127.0.0.1:5173/node_modules/.vite/deps/chunk-BOIIUMNT.js?v=e089520f:377:32)
at SuperTokensWrapper
at Provider (http://127.0.0.1:5173/node_modules/.vite/deps/react-redux.js?v=e089520f:1210:3)
at App (http://127.0.0.1:5173/src/App.jsx?t=1690450579063:263:66)
`
Same, but it's not working only in React.StrictMode.
Looking at the number of open and ignored issues makes me sad, it looks like this repository is no longer maintained.
It's not working in NextJS v13.5 either...
Same, did you find an alternative package ?
Same, did you find an alternative package ?
There are many alternative libraries. I use framer-motion. you can find a similar package here with the sample code. https://socket.dev/npm/package/slick-bottom-sheet
Demo: https://slick-bottom-sheet.vercel.app/