Skip to content

[drawer] VirtualKeyboardProvider absorbs taps while the keyboard is open #5877

Closed

Description

@Lordfirespeed

Feature request

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.

Activity

  1. added
    status: waiting for maintainer
    on Oct 4, 2026
  2. Lordfirespeed commented on Oct 4, 2026

    @Lordfirespeed
    Author

    Seems like

    might not be behaving as intended

  3. added
    type: bug
    component: drawer
    and removed
    status: waiting for maintainer
    on Oct 5, 2026
  4. github-actions commented on Oct 6, 2026

    @github-actions

    This fix will be available in the next npm release of Base UI.

    In the meantime, use the canary build from PR #5882:

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: drawertype: bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions