Skip to content

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

@yhatt

Description

@yhatt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions