-
Notifications
You must be signed in to change notification settings - Fork 487
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
incorrect paths rendering #2814
Comments
My apologies but I couldn't spot the problem from the video recording? |
@wcandillon Hi, I find that when comment/delete |
yes I think this is a nice catch, thank you for investigating this, I should have a fix for it soon hopefully. |
fixes #2814 The race condition would occur when prop update in the view would trigger a redraw request, then the DOM would also emit a redraw request itself would get canceled due to the pending redraw. That first redraw request however, is not using the updated DOM version. We are rearchitecturing this part of the system at the moment, where such issues won't be possible anymore. However this should be good fix for now.
@doublelam thank you again for catching this, I hadn't realized such race condition was possible. |
fixes #2814 The race condition would occur when prop update in the view would trigger a redraw request, then the DOM would also emit a redraw request itself would get canceled due to the pending redraw. That first redraw request however, is not using the updated DOM version. We are rearchitecturing this part of the system at the moment, where such issues won't be possible anymore. However this should be good fix for now.
🎉 This issue has been resolved in version 1.7.6 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Hi, I am facing a very strange issue, when I change the state of paths, the canvas renders them incorrectly.
here is the demo:
https://github.com/user-attachments/assets/31602b1c-95f9-4208-9bc2-00b9e2e9f2f7
and here is the code:
The weird part is that when I test it on Expo https://snack.expo.dev/@loom2023/react-native-skia-path , it works properly. I am not sure if it's my code issue or package issue, can you help?
The text was updated successfully, but these errors were encountered: