Skip to content

iOS 16 Safari has width/size issues with wide content #261

@joshuacurtiss

Description

@joshuacurtiss

On iOS 16 Safari only, the width of the page will be incorrectly adjusted to be very wide when activating the scroll lock. On a mobile responsive page, this correspondingly causes fonts and other content to rearrange/resize. Interestingly, when deactivating the scroll lock, the content does not return to its original size.

This appears to be a Safari bug but occurs because this package does not set the right style of body when activating the scroll lock.

Sample buggy behavior

A page that does not have right: 0 set in the CSS and has wide content:

BSL-bug

Expected behavior:

BSL-expected

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions