-
Notifications
You must be signed in to change notification settings - Fork 3.3k
fix: BROS-476: Fix span resizing in edge cases #8979
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
base: develop
Are you sure you want to change the base?
Conversation
When text span ends at the last character of the page or the line, it calculates its size wrong after resize, causing data corruption. This fix applies missed `fixRange()` in these edge cases.
✅ Deploy Preview for label-studio-docs-new-theme canceled.
|
✅ Deploy Preview for label-studio-playground ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for label-studio-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for heartex-docs canceled.
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #8979 +/- ##
===========================================
- Coverage 66.64% 57.90% -8.75%
===========================================
Files 828 561 -267
Lines 64623 40556 -24067
Branches 10986 10986
===========================================
- Hits 43070 23485 -19585
+ Misses 21549 17067 -4482
Partials 4 4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
When text span ends at the last character of the page or the line, it calculates its size wrong after resize, causing data corruption.
This fix applies missed
fixRange()in these edge cases.