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

Revert "Fixed position for lexical menu (#5602)" #5614

Merged
merged 1 commit into from
Feb 15, 2024
Merged

Revert "Fixed position for lexical menu (#5602)" #5614

merged 1 commit into from
Feb 15, 2024

Conversation

zurfyx
Copy link
Member

@zurfyx zurfyx commented Feb 15, 2024

Reverting as the menu does not work correctly when the page is scrolled. If you scroll down the entire viewport, the menu doesn't even show.

Screen.Recording.2024-02-15.at.9.11.55.AM.mov

@ebads67 can you share more details on your use case and we can follow up in a separate PR?

This reverts commit 0ebb413.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 15, 2024
Copy link

vercel bot commented Feb 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
lexical ✅ Ready (Inspect) Visit Preview Feb 15, 2024 2:13pm
lexical-playground ✅ Ready (Inspect) Visit Preview Feb 15, 2024 2:13pm

Copy link

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
packages/lexical/dist/Lexical.js 26.67 KB (0%) 534 ms (0%) 276 ms (+78.63% 🔺) 809 ms
packages/lexical-rich-text/dist/LexicalRichText.js 38.8 KB (0%) 776 ms (0%) 405 ms (+32.86% 🔺) 1.2 s
packages/lexical-plain-text/dist/LexicalPlainText.js 38.77 KB (0%) 776 ms (0%) 257 ms (-15.1% 🔽) 1.1 s

@zurfyx zurfyx merged commit 35f4e7e into main Feb 15, 2024
37 of 45 checks passed
@zurfyx zurfyx deleted the r5602 branch February 15, 2024 14:18
@ebads67
Copy link
Collaborator

ebads67 commented Feb 15, 2024

Reverting as the menu does not work correctly when the page is scrolled. If you scroll down the entire viewport, the menu doesn't even show.

Screen.Recording.2024-02-15.at.9.11.55.AM.mov
@ebads67 can you share more details on your use case and we can follow up in a separate PR?

This reverts commit 0ebb413.

This issue doesn't have anything to do with my PR, and existed before my change. I can fix it in a separate PR.

@2wheeh
Copy link
Contributor

2wheeh commented May 11, 2024

The wrong positioning of typeahead menu on scroll started from #5187

sqs added a commit to sourcegraph/lexical that referenced this pull request Aug 14, 2024
)"

facebook#5187

This reverts commit dc2da3a.

It was causing an issue where the @-mention menu would immediately disappear in Cody's message field because the anchor would be outside of the `.editor-scroller`. Other users seem to be seeing similar issues (facebook#5614 (comment)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants