Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InlineCombobox Unresponsive to Mouse Interactions When Used Inside Dialog/Sheet #3547

Open
mathensousaa opened this issue Sep 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mathensousaa
Copy link

mathensousaa commented Sep 17, 2024

Description

When using a PlateEditor containing a Mention Input Element within a Shadcn Sheet/Dialog, interaction with the Inline Combobox is currently disabled. Interaction is limited to keyboard inputs only; mouse clicks or scrolls are not supported.

Demo video: https://github.com/user-attachments/assets/4fff1ba8-deed-49f8-9c81-0c06dc33d231

Reproduction URL

https://github.com/mathensousaa/plate-playground-template

Reproduction steps

  1. Open a PlateEditor containing a Mention Input Element inside a Shadcn Dialog.
  2. Type in the Mention Input to trigger the Inline Combobox.
  3. Observe that the combobox appears as expected, but you are unable to interact with it using mouse clicks or scrolling.
  4. The combobox can only be navigated using keyboard inputs (e.g., arrow keys and enter), with no response to mouse actions.

Plate version

38.0.0

Slate React version

0.103.0

Screenshots

No response

Logs

No response

Browsers

Chrome, Firefox, Safari

Funding

  • You can sponsor this specific effort via a Polar.sh pledge below
  • We receive the pledge once the issue is completed & verified
Fund with Polar
@mathensousaa mathensousaa added the bug Something isn't working label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant