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

Scrollbar not visible on some *.visualstudio.com pages #180

Open
ryanbuening opened this issue Feb 10, 2022 · 2 comments
Open

Scrollbar not visible on some *.visualstudio.com pages #180

ryanbuening opened this issue Feb 10, 2022 · 2 comments

Comments

@ryanbuening
Copy link

Scrollbar is not visible when navigating to certain pages.

Reproduction Steps

Expected Result

  • Scrollbar is visible

Actual Result

  • Scrollbar is not visible

With userscript enabled

image

With userscript disabled

image

@ryanbuening
Copy link
Author

ryanbuening commented May 12, 2022

The console logs the following error:

image

image

Possible fix might be to check that JSON.parse(document.getElementById('dataProviders') exists before trying to access the innerHTML?

@alejandro5042
Copy link
Owner

Yep! That's part of the fix.

From simple observation on a few visualstudio.com subdomains, if dataProviders is undefined, then it's not an Azure DevOps page.

But also key is that I have to avoid adding CSS styles by default on all pages. I've started on this fix locally. Hopefully I can get it in this weekend.

Thank you @ryanbuening!

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

No branches or pull requests

2 participants