Temzasse / react-modal-sheet

Flexible bottom sheet component built with Framer Motion to provide buttery smooth UX while keeping accessibility in mind 🪐
https://temzasse.github.io/react-modal-sheet/
MIT License
815 stars 77 forks source link

Feature request: add option to unblock backdrop while modal is opened #14

Closed vbylen closed 3 years ago

vbylen commented 3 years ago

It would be nice if a dropdown menu in a navbar could still work while the modal was open.

Awesome project!

vbylen commented 3 years ago

actually I found a way around this.

just add style={{ isolation: 'isolate', zIndex: 9999999, position: 'relative' }} to the component you want to elevate.

Temzasse commented 3 years ago

Glad you figured it out! 🙂 👍🏻