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: inconsistent zooms in different screen-sizes #82

Merged
merged 1 commit into from
Oct 2, 2023

Conversation

Blindman139
Copy link
Contributor

Bug: #58
Demo: https://codesandbox.io/s/react-quick-pinch-fix-58-5wfgm6?file=/src/App.js:927-1635
How to re-create issue:

  1. Open 2 new separate preview windows from above sandbox
  2. Open Developer Tools in only one preview window. This is to change width of view port. Any other means to change view port can be also used.
  3. Toggle value of const doInConsistentZoom = false; near line no-28.
    a. For const doInConsistentZoom = true; both different sized window will zoom in and align at different points.
    b. For const doInConsistentZoom = false; both different sized window will zoom in and align at same points.

@retyui retyui merged commit 4b13484 into retyui:master Oct 2, 2023
1 of 4 checks passed
@retyui
Copy link
Owner

retyui commented Oct 4, 2023

Released in 5.0.0

diff: 4.9.0...5.0.0

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

Successfully merging this pull request may close these issues.

2 participants