Cody Olsen
Cody Olsen
Ok this is a bug, it manages to correct the snap position if a drag interaction is done, but for some reason it's failing if the content changes when idle....
Good idea, I'll recreate them there and link to them π
Hmmm, there are two challenges here. The CSS challenge with z-indexes like you're describing, and after you've solved that you'll face the problem of interactivity as the bottom sheet is...
This will be available after I've upgraded to react-spring to v9,I'm currently working on rewriting the internal state machine to fit the new api model βΊοΈ
Yes, an early version of this library actually supported it, but it had to be disabled because it failed to work consistently on Android and iOS. I plan on revisiting...
Hello @bulby97, try giving the new [`expandOnContentDrag`](https://github.com/stipsan/react-spring-bottom-sheet#expandoncontentdrag) prop a shot :) It's enabled on this [demo](https://react-spring-bottom-sheet.cocody.dev/fixtures/scrollable).
It's very difficult to do that with the current api. But in the next major you'll be able to subscribe to the snap position in real-time, and the current state...
Sounds like you're [affected by the library we use to handle `scrolllocking`](https://github.com/stipsan/react-spring-bottom-sheet#scrolllocking). Have you tried adding `[data-body-scroll-lock-ignore]` to a container for the drag & drop stuff? Could you make a...
Heya, [react-spring](https://www.react-spring.io/docs/hooks/api#configs) support it. If I expose it like this: ```js ref.current.snapTo(({maxHeight}) => maxHeight, {duration: 250}) ``` would that work for you?
@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...