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

Bug: The '/' operation is invalid. #6939

Open
xiubojin opened this issue Dec 11, 2024 · 1 comment
Open

Bug: The '/' operation is invalid. #6939

xiubojin opened this issue Dec 11, 2024 · 1 comment
Labels
popover Issues related to popover/menu code in the playground

Comments

@xiubojin
Copy link

xiubojin commented Dec 11, 2024

Lexical version:0.21.0

Steps To Reproduce

The first issue:

  1. I'm inserting a code block using '/', then move the cursor above the code block and type '/':
image
  1. Then move the cursor below the code block and type '/', all is well:
image

The second issue:
I'm inserting a Columns layout using toolbar, then I inserted a Poll component into the layout, move the cursor below the columns layout component, typing '/' is not effective:
image

@etrepum
Copy link
Collaborator

etrepum commented Dec 11, 2024

This is all related to menu positioning and scrolling, #6923 will hopefully fix this. If you don't use the lexical menu code in your own editor, and instead use a library like floating-ui, then you shouldn't have this issue.

@etrepum etrepum added the popover Issues related to popover/menu code in the playground label Dec 11, 2024
@xiubojin xiubojin reopened this Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
popover Issues related to popover/menu code in the playground
Projects
None yet
Development

No branches or pull requests

2 participants