Restyling large portions of the document causes area to scroll when it shouldn't.
See original GitHub issueI am using this code:
codeArea.clearStyle(0, codeArea.getLength() - 1);
Before / After Clear and style
If the area is already clean, the problem does not happen (it is inside a VirtualizedScrollPane)
Obs.: After some tests, I noticed that this happens when the font type is italic
Issue Analytics
- State:
- Created 7 years ago
- Comments:18 (12 by maintainers)
Top Results From Across the Web
How to prevent overflow scrolling in CSS - LogRocket Blog
This article will discuss what an overflow scroll in CSS is, explain what causes this issue, and suggest ways to fix the problem,...
Read more >how to fit the webpage exactly the screen size without scrolling?
I am new to css and I am finding some difficulty in setting my webpage to fit exactly the screen size but it...
Read more >Element size and scrolling - The Modern JavaScript Tutorial
The clientWidth property is always the same: scrollbar size is substracted if reserved.
Read more >Scroll-Then-Fix Content | CSS-Tricks
There is a search input in the middle of the page that scrolls with the page, but as it's about to scroll off...
Read more >overscroll-behavior - CSS: Cascading Style Sheets | MDN
If you have overscroll-behavior: contain; selected, the outer container will not scroll unless you move your cursor out of the inner container ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@synth3 It was fun and frustrating. You might want to look at TomasMikula/Flowless#33 to get a better understanding of how Flowless works.
@richATavail @synth3 You can get around this issue if you compile a local copy of my PR for Flowless and use it as a dependency in your project because I’m not sure how long it’ll be before Tomas merges the code.