emilkowalski / vaul

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

bug: drawer cannot be dragged down when there is an overflow on the y-axis #495

Open etx121 opened 3 weeks ago

etx121 commented 3 weeks ago

Hello Emil,

Thanks for the great library. I was testing the component and I found out that there may have a potential issue: When I try to drag down the drawer that has an overflow (here I put overflow-y-scroll to scroll inside the drawer), I cannot close the drawer. As soon as there is no overflow, I can close the drawer and drag the bar down.

Can you reproduce the issue (you just need to make the content overflow)?