question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Restyling large portions of the document causes area to scroll when it shouldn't.

See original GitHub issue

I am using this code: codeArea.clearStyle(0, codeArea.getLength() - 1);

Before / After Clear and style sem titulo

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:closed
  • Created 7 years ago
  • Comments:18 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
JordanMartinezcommented, Mar 29, 2017

@synth3 It was fun and frustrating. You might want to look at TomasMikula/Flowless#33 to get a better understanding of how Flowless works.

1reaction
JordanMartinezcommented, Mar 28, 2017

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found