You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[drawer] VirtualKeyboardProvider absorbs taps while the keyboard is open #5877
I am using the drawer as a combobox, with an input for filtering a list of items, the user then taps/clicks the item they want.
I am using VirtualKeyboardProvider to ensure the drawer reacts to software keyboards.
Once the item they want is apparent, the user has to tap twice - once to dismiss the keyboard focus, then once on the item they want.
This is not the case when VirtualKeyboardProvider is not present, a single tap on the item they want while the keyboard is open is sufficient.
Summary
I would like a boolean prop to be added to the VirtualKeyboardProvider that disables the interaction-absorbing behaviour.
Reproduction
An easy way to reproduce this is to put one <input> and one <button> element into a drawer which utilises VirtualKeyboardProvider.
When the <input> is focused and the software keyboard is up, tapping the <button> does not activate the button, and only dismisses the keyboard. The button must be tapped a second time (once the keyboard is dismissed) to activate it.
npm i https://pkg.pr.new/@base-ui/react@00a5aa9
This installs a complete package for @base-ui/react with the fix included. It is hosted by pkg.pr.new rather than npm, and the URL is available for up to six months.
Activity
Lordfirespeed commentedon Oct 4, 2026
Seems like
base-ui/packages/react/src/drawer/virtual-keyboard-provider/DrawerVirtualKeyboardProvider.tsx
Line 689 in 19511bb
github-actions commentedon Oct 6, 2026
This fix will be available in the next npm release of Base UI.
In the meantime, use the canary build from PR #5882:
This installs a complete package for
@base-ui/reactwith the fix included. It is hosted by pkg.pr.new rather than npm, and the URL is available for up to six months.