Skip to content
Discussion options

You must be logged in to vote

Chiming in with a workaround since this is really a Radix modal-Dialog interaction, not something Headless UI can fix from its side.

Why it happens

With modal={true}, Radix's dismissable layer sets pointer-events: none on <body> and only re-enables auto on the Dialog.Content subtree (that's how it blocks the rest of the page). Headless UI's anchor prop portals ComboboxOptions to document.body so it can float against the input, which puts the options outside Dialog.Content in the DOM, so they inherit pointer-events: none:

  • without anchor -> options render inside Dialog.Content -> pointer-events: auto -> mouse works
  • with anchor -> portaled to body -> pointer-events: none -> mouse dead

Keyb…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@mithilesh333
Comment options

@mithilesh333
Comment options

Answer selected by mithilesh333
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #4032 on July 10, 2026 17:17.