Comments (9)
@simonrelet yes that is the idea. The reason I've held off on it though is that these options are different in the upcoming version of react-spring
, v9
. I could compromise on using an unstable_
prefix on this prop/option while we're on v8
. If I add it now understand that these options will be a "use at your own risk" kind of deal.
from react-spring-bottom-sheet.
Hello there!
@stipsan Huge thanks for the library 🙏
Would it be conceivable to also have an API to set the duration/spring config at the component level?
ref.current.snapTo()
could "use it" by default and override it if a config is passed as parameter.
What do you think?
from react-spring-bottom-sheet.
Hi @stipsan , we have a good news from React Spring
side.
Finally the version 9 is merged
from react-spring-bottom-sheet.
Brilliant 🎉 Btw, @otox-rz and @ejabu, what's up with the 🍔 themed avatars? 😂
lol, I had to create another account to conform my office rules, using Work email for git user. 🤣
from react-spring-bottom-sheet.
FYI - Here is an answer for changing the speed
from react-spring-bottom-sheet.
Hi @stipsan , I think we will have the good news soon .
Release Plan v9 of react-spring
from react-spring-bottom-sheet.
Heya, react-spring support it. If I expose it like this:
ref.current.snapTo(({maxHeight}) => maxHeight, {duration: 250})
would that work for you?
from react-spring-bottom-sheet.
That would be great. Thanks!
from react-spring-bottom-sheet.
Brilliant 🎉 Btw, @otox-rz and @ejabu, what's up with the 🍔 themed avatars? 😂
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 6
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.