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

modal scale and position is affected by pinch-to-zoom on iOS #41307

Open
3 tasks done
ARodsIsland2 opened this issue Mar 18, 2025 · 0 comments
Open
3 tasks done

modal scale and position is affected by pinch-to-zoom on iOS #41307

ARodsIsland2 opened this issue Mar 18, 2025 · 0 comments

Comments

@ARodsIsland2
Copy link

Prerequisites

Describe the issue

Modal size and position seems to scale inappropriately when the user pinch-zooms on an iOS device.

I did see your note in the Modals and Dropdowns on Mobile section of the Browsers and Devices page:

Page zooming inevitably presents rendering artifacts in some components, both in Bootstrap and the rest of the web. Depending on the issue, we may be able to fix it (search first and then open an issue if need be). However, we tend to ignore these as they often have no direct solution other than hacky workarounds.

This may be one of the "rendering artifacts" you meant, but I suspect not.

Reduced test cases

This can be observed directly in the live demo on the Bootstrap Modal page.

Here's a recording of me doing that.
https://youtube.com/shorts/5doz5L4y1R4

Note in the video it seems to affect the navbar as well. ¯_(ツ)_/¯

What operating system(s) are you seeing the problem on?

iOS

What browser(s) are you seeing the problem on?

Safari

What version of Bootstrap are you using?

v5.2

@ARodsIsland2 ARodsIsland2 changed the title modals scale and position is affected by pinch-to-zoom on iOS modal scale and position is affected by pinch-to-zoom on iOS Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant