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: unable to delete the first character on android chrome #5274

Closed
kirandash opened this issue Nov 22, 2023 · 5 comments
Closed

Bug: unable to delete the first character on android chrome #5274

kirandash opened this issue Nov 22, 2023 · 5 comments

Comments

@kirandash
Copy link
Contributor

when there is one character left at any line it wont delete it and it will jump to the beginning of line without deleting the character

Lexical version: 0.12.4

Evidence

Screen_Recording_20231019_181459_Chrome.mp4
@kirandash
Copy link
Contributor Author

I will be creating a PR for this based on my solution shared here: #4941 (comment)

@bnol
Copy link

bnol commented Nov 25, 2023

+1

@rohini21
Copy link

rohini21 commented Dec 5, 2023

@kirandash @acywatson Thanks for this fix. When will this be published?

@kirandash
Copy link
Contributor Author

@kirandash @acywatson Thanks for this fix. When will this be published?

@rohini21 Not sure when it will be released next. In the meantime, you can use a patch ex: patch-package for npm or pnpm patch etc to patch Lexical.dev.js and Lexical.prod.js files on your project.

How to generate the Lexical.dev.js and Lexical.prod.js file with the fix?
Go to LexicalEvent.ts file: add the fix code and run npm run build-release. Once the build is ready, use those files from dist folder on your project.

Hope that helps.

@kirandash
Copy link
Contributor Author

@rohini21 This is now merged to main and available in release version v0.12.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants