When using the Vaul Drawer component on Desktop Safari, if there’s an HTML <select> element inside the drawer and the user interacts with it (when changing the option), the drawer gets stuck in drag mode
Render a Drawer component that contains a native HTML
Open the drawer in Desktop Safari.
Interact with the
Observe that the drawer gets stuck in drag mode, only scape key will allow you to move out.
Expected Behavior:
The drawer should not enter or stay in drag mode when interacting with a <select> element in Desktop Safari. It should allow smooth selection without affecting the drawer’s behavior.
Actual Behavior:
The drawer becomes stuck in drag mode when the user changes the option in the <select> dropdown.
👋
Description:
When using the Vaul Drawer component on Desktop Safari, if there’s an HTML
<select>
element inside the drawer and the user interacts with it (when changing the option), the drawer gets stuck in drag modeSandbox: https://codesandbox.io/p/sandbox/8glhq5
Video demo: https://github.com/user-attachments/assets/16283410-579d-42f1-9755-69c6bb472d1d
Steps to Reproduce:
Expected Behavior: The drawer should not enter or stay in drag mode when interacting with a
<select>
element in Desktop Safari. It should allow smooth selection without affecting the drawer’s behavior.Actual Behavior: The drawer becomes stuck in drag mode when the user changes the option in the
<select>
dropdown.Thanks!