-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Renderer._needsFullRefresh is never reset to false #1975
Comments
It looks like _needsFullRefresh does need to get reset after the refresh happens (as a full refresh has occurred). |
PR is out to fix it, I don't think this would fix eclipse-theia/theia#3838 though? The bug seems to be that once a full refresh occurs, every time an unpause happens a full refresh happens, even if it's not needed. |
We just need to upgrade xterm, in our version not most recent intersection observer entry is used. 69d3a46 fixes the issue |
@akosyakov makes sense, and thanks for finding the bug 😃 |
I am debugging eclipse-theia/theia#3838 and noticed that on first drag _isPaused set to true, on second
_needsFullRefresh
is also true, so no refresh happens. Afterwards it does not matter what user is doing values of_isPaused
and_needsFullRefresh
don't get changed. Is it on purpose or_needsFullRefresh
should be reset to false inonIntersectionChange
? Should we call something else to force refresh after reattaching xterm from one parent to another?The text was updated successfully, but these errors were encountered: