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

Safari 16.4 does no longer reflect zoom factor to currentScale #48

Open
yhatt opened this issue Oct 20, 2022 · 0 comments
Open

Safari 16.4 does no longer reflect zoom factor to currentScale #48

yhatt opened this issue Oct 20, 2022 · 0 comments

Comments

@yhatt
Copy link
Member

yhatt commented Oct 20, 2022

WebKit/WebKit@0f17225

// NOTE: Safari reflects a zoom level to SVG's currentScale property, but
// the other browsers will always return 1. You have to specify the zoom
// factor manually if used in outdated Blink engine. (e.g. Electron)
const zoomFactor = zoom || zoomFactorFromParent || svg.currentScale || 1

@yhatt yhatt changed the title Safari 16.4 technology preview does no longer reflect zoom factor to currentScale Safari 16.4 does no longer reflect zoom factor to currentScale Mar 28, 2023
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