Mobile setting modal behavior fixes
1 unresolved thread
1 unresolved thread
Closes #908 (closed)
Edited by Eugenij
Merge request reports
Activity
added 6 commits
-
463ae072...f0e29629 - 5 commits from branch
pleroma:develop
- 73847520 - Fix mobile setting modal behavior: ensure the mobile browser address bar...
-
463ae072...f0e29629 - 5 commits from branch
- Resolved by Eugenij
- Resolved by Eugenij
943 943 line-height: 1.3rem; 944 944 } 945 945 946 .settings-modal-layout { 947 @media all and (max-width: 800px) { 948 height: 100%; 949 950 body { 951 height: 100vh; changed this line in version 5 of the diff
You're right, it does break the background scroll when the modal settings is minimized. I've removed this part and replaced it by the
body-scroll-lock
directive to make it so that the background is only locked when the settings content is visible. iOS needs the background to be locked in order for the foreground scroll not to be glitchy. Specifically, the movement that starts with scroll-up doesn't work regardless of the further direction (but the one that starts with scroll-down does), and sometimes the background is scrolled instead). The lock fixes those.Edited by Eugenij
added 1 commit
- 50d3350a - Add body 100% width for the preview, refactor the modalActivated watcher
added 1 commit
- d3a6c99a - Add body 100% width for the preview, refactor the modalActivated watcher
added 21 commits
-
d3a6c99a...25a015b4 - 18 commits from branch
pleroma:develop
- dac075c6 - Fix mobile setting modal behavior: ensure the mobile browser address bar...
- 61dd1a3b - Add body 100% width for the preview, refactor the modalActivated watcher, use...
- 6ea840ff - Use bock-scroll-lock directive for the settings modal
Toggle commit list-
d3a6c99a...25a015b4 - 18 commits from branch
added 1 commit
- 77d65d6c - Ensures the minimized modal is always 50px above the mobile browser bottom bar...
mentioned in commit 9a10ad38
Please register or sign in to reply