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

disable vertical scroll instead of hide on desktop browsers #2962

Merged

Conversation

kimsible
Copy link
Contributor

Small PR which is more a visual fix.

It improves UX/UI nav transitions on desktop browsers where the vertical scrollbar is not floating over the body like touch devices do.

Now, when switching from a vertical scrolled content to a non-scrolled content / opened modal view, the vertical scroll will be disabled instead of hide on desktop browsers.

This way, header (upload button and search input) and content won't be involuntarily moved horizontally to the right.

Capture d’écran du 2020-07-14 00-13-24

@rigelk rigelk changed the title Fix: disable vertical scroll instead of hide on desktop browsers disable vertical scroll instead of hide on desktop browsers Jul 14, 2020
rigelk
rigelk previously requested changes Jul 15, 2020
Copy link
Collaborator

@rigelk rigelk left a comment

Choose a reason for hiding this comment

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

Please make your comments more clear - I can't make sense of them atm.

@rigelk rigelk added the UI non-trivial UI changes, that might need discussion label Jul 15, 2020
@kimsible kimsible force-pushed the fix/disable-scroll-instead-of-hide branch from a3acec1 to f26a9a8 Compare July 15, 2020 11:08
@kimsible kimsible force-pushed the fix/disable-scroll-instead-of-hide branch from f26a9a8 to 6d1a2b8 Compare July 15, 2020 11:10
@kimsible kimsible requested a review from rigelk July 15, 2020 11:12
@rigelk rigelk dismissed their stale review July 15, 2020 11:20

changes made, but manual testing required before final approval

@Chocobozzz
Copy link
Owner

Tested and happy with the result. Thanks @kimsible

@Chocobozzz Chocobozzz merged commit 8110705 into Chocobozzz:develop Jul 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UI non-trivial UI changes, that might need discussion
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants