emilkowalski / vaul

A drawer component for React.
https://vaul.emilkowal.ski
MIT License
6.42k stars 215 forks source link

iOS: Overflowing elements flash on drawer close #455

Open renekahr opened 1 month ago

renekahr commented 1 month ago

Version: v0.9.7 Opening #365 again.

Overflowing elements flash when the drawer closes on iOS, as noted in the previous issue. The earlier solution involved using noBodyStyles and disablePreventScroll together. However, applying this combination of props in v0.9.7 now results in the page scrolling to the top after opening the drawer, making it no longer a viable solution.

When these props are removed, the overflowing elements flash, just as described in the old issue. What is the intended solution for this in v0.9.7?

renekahr commented 1 week ago

The issue still exists in v1.1.1.