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

fix Menu bar shakes when swiping pages in Safari #2143

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

evibhm
Copy link

@evibhm evibhm commented Jul 26, 2023

fix #2119

The style

#body-container {
    overflow-x: clip;
}

should only make effect in mobile Safari.

@rustbot rustbot added the S-waiting-on-review Status: waiting on a review label Jul 26, 2023
@evibhm
Copy link
Author

evibhm commented Jul 26, 2023

@rustbot label +A-style

@rustbot rustbot added the A-Style Area: Style (CSS, etc.) label Jul 26, 2023
Copy link
Contributor

@ehuss ehuss left a comment

Choose a reason for hiding this comment

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

I'm not able to reproduce the issue mentioned in #2119. Can you say what kind of hardware you have? I tried on a 10-year old macbook, and didn't see any shaking or rendering issues. If you update to the latest safari (I have 16.6), does that help?

will want to reposition the viewport in a weird way.
*/
overflow-x: clip;
@media only screen and (max-width: 420px) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you say where you got this 420 value? It seems like this wouldn't work with larger iPhones, like the Pro Max versions which have a greater than 420 size. Is there some other criteria that can be used to detect the scenarios where it is needed?

@ehuss
Copy link
Contributor

ehuss commented Nov 24, 2023

@rustbot author

@rustbot rustbot added S-waiting-on-author Status: The marked PR is awaiting some action (such as code changes) from the PR author. and removed S-waiting-on-review Status: waiting on a review labels Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Style Area: Style (CSS, etc.) S-waiting-on-author Status: The marked PR is awaiting some action (such as code changes) from the PR author.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Menu bar shakes when swiping pages in Safari
3 participants