-
-
Notifications
You must be signed in to change notification settings - Fork 835
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
Discussion page scrolling issue on iOS #3703
Comments
Here's a CSS that I found fixes the issue: html, body{
overflow-x: hidden;
} However I'm not sure it's a proper fix. I'm not a web developer and that CSS might negatively impact something else. As a matter of fact, the issue appeared after 1.5 and it affects only the discussion view (when you have open a discussion and scrolling it) and not the main view with the list of all discussions. So, apparently the root cause is something else and it's a regression and I'm not sure a global CSS like the one above should be the solution. |
I remember that the However it seems that the property interfered with the sticky sidebar, so it might be worth checking if it's still a problem @SychO9 |
Thanks @matteocontrini, I couldn't find why the change had been made. It does interfere with sticky positioning. So reverting that won't work then. |
I also discovered that the CSS in question affects the sticky sidebar. However since there's no sidebar on mobile, I enable the CSS only for mobile: @media @phone {
html, body{
overflow-x: hidden;
}
} This seems to be working fine without affecting the sidebar on desktop. |
Current Behavior
Currently on a discussions page it’s possible to scroll horizontally which is influencing the browsing experience.
https://files.fm/f/43rjsdfks
As stated in a discussion this might be a new big since at least 1.5.0 (https://discuss.flarum.org/d/32014-how-to-downgrade-from-162-to-14)
Steps to Reproduce
Open a discussion page on any Flarum Forum
Expected Behavior
No horizontal scroll possible like it also is the case in „All discussions“ page.
Screenshots
No response
Environment
Output of
php flarum info
Possible Solution
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: