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

Viewport shouldn't always show a scrollbar #6422

Merged
merged 1 commit into from
May 3, 2022

Conversation

eaon
Copy link
Contributor

@eaon eaon commented May 3, 2022

Description of Changes

Because of a body::after element used to pre-load a couple of images was visually hidden but still part of the DOM, the element forced the viewport to always show a scrollbar.

I overlooked this visual degradation that was introduced by the most recent accessibility related changes to hide the element from screen-readers but forgot to position the element off-screen.

Fixes #6419

Testing

  • Check SI index page in full screen mode, it should not show a scrollbar.

Overlooked this visual degradation that was introduced by the most
recent accessibility related fixes. Fixes #6419
@eaon eaon requested a review from a team as a code owner May 3, 2022 01:20
@codecov-commenter
Copy link

Codecov Report

Merging #6422 (7a0807d) into develop (56d26e1) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop    #6422   +/-   ##
========================================
  Coverage    83.79%   83.79%           
========================================
  Files           62       62           
  Lines         4320     4320           
  Branches       525      525           
========================================
  Hits          3620     3620           
  Misses         575      575           
  Partials       125      125           

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@zenmonkeykstop zenmonkeykstop self-assigned this May 3, 2022
Copy link
Contributor

@zenmonkeykstop zenmonkeykstop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested in dev, extra space has been eliminated on all SI views.

@zenmonkeykstop zenmonkeykstop merged commit 585a03a into develop May 3, 2022
@eaon eaon deleted the 6419-viewport-scrollable branch May 9, 2022 22:47
@zenmonkeykstop zenmonkeykstop mentioned this pull request May 10, 2022
35 tasks
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 this pull request may close these issues.

[develop] Viewport is scrollable without scrollable content
3 participants