You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I find that the above is useful for responsive sites when content may overflow the main container and cause horizontal scroll and/or layout issues. Using the above ensures that the overflow of said rogue element doesn’t cause too much layout chaos.
Important: Add -webkit-overflow-scrolling: touch; to html if you want iOS to scroll without being choppy.
The text was updated successfully, but these errors were encountered:
This makes the scroll bar appear when needed:
This always makes the scrollbar appear if you don’t want the page to jump when overflow occurs:
I find that the above is useful for responsive sites when content may overflow the main container and cause horizontal scroll and/or layout issues. Using the above ensures that the overflow of said rogue element doesn’t cause too much layout chaos.
Important: Add
-webkit-overflow-scrolling: touch;
tohtml
if you want iOS to scroll without being choppy.The text was updated successfully, but these errors were encountered: