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

fix: text disappearing on edit (#8558) #8624

Merged
merged 1 commit into from
Oct 17, 2024
Merged

Conversation

ObstinateM
Copy link
Contributor

This PR fixes #8558 (due to race condition)

The issue was consistently happening on MacOS and safari.

I use the same strategy that is use before, with the use of flushSync(). We should update this in finalize action, like with via keyboard trigger

Verified

This commit was signed with the committer’s verified signature.
crazy-max CrazyMax
Copy link

vercel bot commented Oct 10, 2024

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

Name Status Preview Updated (UTC)
excalidraw ✅ Ready (Inspect) Visit Preview Oct 10, 2024 9:30am
excalidraw-package-example ✅ Ready (Inspect) Visit Preview Oct 10, 2024 9:30am
excalidraw-package-example-with-nextjs ✅ Ready (Inspect) Visit Preview Oct 10, 2024 9:30am
1 Skipped Deployment
Name Status Preview Updated (UTC)
docs ⬜️ Ignored (Inspect) Visit Preview Oct 10, 2024 9:30am

@ObstinateM
Copy link
Contributor Author

@mtolmacs Hi, is this solution suiting your standard?

@dwelle
Copy link
Member

dwelle commented Oct 17, 2024

Hey @ObstinateM, thanks for the PR!

We should update this in finalize action, like with via keyboard trigger

Yeah, we were leaving the state update refactors for a larger rewrite that would implement its own scheduler and state mgmt, but it's not clear how soon that will happen.

@dwelle dwelle merged commit 21815fb into excalidraw:master Oct 17, 2024
8 checks passed
Jauhen pushed a commit to Jauhen/excalidraw that referenced this pull request Nov 12, 2024

Verified

This commit was signed with the committer’s verified signature.
crazy-max CrazyMax
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

Successfully merging this pull request may close these issues.

Text disappears when closing the color picker popup until the user double clicks on the canvas
2 participants