Fix: #5974 Cursor jump to the end of the document when a collaborator deletes focusing paragraph
fixed #5974
https://github.com/facebook/lexical/assets/111737064/9b4bccee-23d8-447c-aacd-4da0cdbfe659
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| lexical | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 15, 2024 10:51am |
| lexical-playground | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 15, 2024 10:51am |
@fantactuka could you look into this one, would really like to land this one before the next release.
This is great! Can you pls add a test for this fix? To prevent regression
I added a test and fixed!
It looks like integrity test is failed because Collaboration.test.ts is not completely typed.
A more generic fix was merged here: https://github.com/facebook/lexical/commit/b5fa87d0c6e92fb38f9cb484a7340ab41eff1186