Skip to content
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

Scroll bars disappearing when switching from different application #476

Closed
scholtzan opened this issue Sep 17, 2019 · 3 comments · Fixed by #477
Closed

Scroll bars disappearing when switching from different application #476

scholtzan opened this issue Sep 17, 2019 · 3 comments · Fixed by #477

Comments

@scholtzan
Copy link
Member

When switching to xi from another application the scroll bars don't appear when scrolling:

out

Once the editor window is resized or some text is inserted the scroll bars will reappear when scrolling.

@nangtrongvuon
Copy link
Member

This is directly caused by a fix I merged a few weeks prior. Why this happens is the ScrollView looks for the scroll method to show the scroller. I have however overriden this scroll method to instead set the bounds origin directly.

I'm not sure what triggers the appearance of the scrollers in scroll, but this bug would be fixed if I am able to replicate that.

@cmyr
Copy link
Member

cmyr commented Sep 22, 2019

@nangtrongvuon can you call super in your implementation of scroll? I'd check the docs and see what they say about this, but it could be the problem.

@nangtrongvuon
Copy link
Member

nangtrongvuon commented Sep 22, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants