Comments (34)
It seems to be working in 3.5.0-alpha.0
from react-spring-bottom-sheet.
the issue is still there
"react": "^18.2.0", "react-dom": "^18.2.0", "react-spring-bottom-sheet": "3.5.0-alpha.0"
it's working fine on me, maybe try to remove the node_modules folder then run npm install again?
my package.json
"react": "18.2.0",
"react-dom": "18.2.0",
"react-spring-bottom-sheet": "3.5.0-alpha.0",
from react-spring-bottom-sheet.
Ran into the same issue, looks like it's a issue with React v18 StrictMode, removing StrictMode or running a prod build it works fine.
https://reactjs.org/blog/2022/03/29/react-v18.html#new-strict-mode-behaviors
from react-spring-bottom-sheet.
Well the package here is locked to version 8 API, so it probably needs a good update to be working with react18 & react-spring9
Id try talk to the maintainer or update the lib and submit a PR.
from react-spring-bottom-sheet.
it worked by disabling the react strict mode on nextjs 13.
from react-spring-bottom-sheet.
@joshuaellis I have gone ahead and made the changes needed to upgrade to react-spring
v9.4.5
from react-spring-bottom-sheet.
Same here, latest version (3.4.1) on react 18 still triggers the same issue.
Running on NextJS if that helps
from react-spring-bottom-sheet.
I actually launched a new version of react-spring that works with r18, so I think this project would need to update its deps accordingly 👌🏻 9.4.5 for reference.
from react-spring-bottom-sheet.
I still have the issue with the last version, any ideas ?
from react-spring-bottom-sheet.
Haven't tried it yet, but this seems similar https://github.com/roman-rr/cupertino-pane
from react-spring-bottom-sheet.
Thanks joshuaellis, I uninstalled the react-spring-bottom-sheet package and re-installed it. Then checked the react-spring version and is now the 9.4.5 you mentioned; but I still getting the same error: TypeError: Cannot read properties of undefined (reading 'getValue'). The error is in the localhost only, in production works fine.
Did I missed something else that you can help me please?
from react-spring-bottom-sheet.
i guess still no solution for this issue i'm having this issue as well on nextjs 13
from react-spring-bottom-sheet.
Looks like react-spring doesn't support React v18 yet
pmndrs/react-spring#1563
from react-spring-bottom-sheet.
I've launched a beta for react18
that should resolve issues and be good to go – 9.4.5-beta.1
please feel free to give it a go and any issue feedback on that issue you linked too :)
from react-spring-bottom-sheet.
How i do access the beta version?
from react-spring-bottom-sheet.
I would like to try the beta also, where can I download it? thanks
from react-spring-bottom-sheet.
Have same while migrated from react to nextjs, react 18.2.0, but was working fine with 17
from react-spring-bottom-sheet.
I'm having the same issue as well. Let me know if there is anything I can do to help resolve it.
from react-spring-bottom-sheet.
Please has a solution to this been discovered? I'm having the same issue now
from react-spring-bottom-sheet.
the issue is still there
"react": "^18.2.0", "react-dom": "^18.2.0", "react-spring-bottom-sheet": "3.5.0-alpha.0"
from react-spring-bottom-sheet.
I have the same issue. It's also working in version 3.5.0-alpha.0.
Why not release the original version?
from react-spring-bottom-sheet.
Same issue here
from react-spring-bottom-sheet.
🆙
from react-spring-bottom-sheet.
I got the same problem.
My dependencies:
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-spring-bottom-sheet": "^3.4.1"
from react-spring-bottom-sheet.
I got the same error with:
"react": "18.2.0",
"react-dom": "18.2.0",
"react-spring-bottom-sheet": "^3.4.1".
I am looking for other options to do the same, instead I´ll try to use this: https://www.npmjs.com/package/react-modal-sheet
I would appreciate if other people have more options.
from react-spring-bottom-sheet.
Haven't tried it yet, but this seems similar https://github.com/roman-rr/cupertino-pane
Thanks
from react-spring-bottom-sheet.
Haven't tried it yet, but this seems similar https://github.com/roman-rr/cupertino-pane
Very nice animations, but I unfortunately couldn't figure out how to use it with JSX
from react-spring-bottom-sheet.
I would like to use this package, but unfortunately it doesn’t work...
"next": "13.4.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-spring-bottom-sheet": "^3.4.1" | "3.5.0-alpha.0"
from react-spring-bottom-sheet.
Haven't tried it yet, but this seems similar https://github.com/roman-rr/cupertino-pane
Very nice animations, but I unfortunately couldn't figure out how to use it with JSX
tech-systems/panes#142 (comment)
from react-spring-bottom-sheet.
⬆️ Same issue here, any updates on that?
from react-spring-bottom-sheet.
I still facing this issue when upgrading to Next.js 14. it works fine on Next.js 13.4 before.
from react-spring-bottom-sheet.
Same here, getting this error in Next 14, has anyone found any solution?
from react-spring-bottom-sheet.
It seems to be working in
3.5.0-alpha.0
Be careful with 3.5.0-alpha.0
version, it installs a lot of new dependencies who has at least 5 high vulnerabilities that allows SSRF attacks. Learn more here
from react-spring-bottom-sheet.
3.5.0-alpha.0
gets rid of the error for me but introduces scrolling bugs on mobile iOS. The first touch/scroll is always way too fast. Anyone has the same problems and a workaround for this?
It also introduces a bug which closes the bottom sheet for us during scrolling a long list before reaching the top.
from react-spring-bottom-sheet.
Related Issues (20)
- Focus trap is not working after changing `blocking`
- requires tap to show on screen -- Android chrome
- Dragging should only work in Dragger Container . Should not draggable in Backdrop.
- BottomSheet resets to previous snap point when trying to track height
- Need Unit Test
- Looks like react-use-gesture is depreciated
- Allow setting an z-Index HOT 5
- Adding contentHeight and headerHeight to ref
- Font wont apply to RSBS HOT 3
- When initialFocusRef is false, elements outside the popup are tabbable despite blocking being enabled HOT 1
- Horizontal scrolling is not working properly when full size is introduced in snapPointList
- conditional fetching with onSpringStart it make glitching issue or ropen twice the bottomsheet HOT 2
- Update dependencies
- How to prevent close? HOT 1
- Doesn't work in React Vite HOT 4
- New maintainer? HOT 1
- Getting height of BottomSheet while transition HOT 1
- show children of bottom sheet when is closed without bottom sheet parent
- Please update the React to latest version HOT 1
- TypeError: Cannot read properties of undefined (reading 'getValue') HOT 5
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 react-spring-bottom-sheet.