Skip to content

#9584 is a breaking change #9646

Description

@B-head

Check for duplicates

  • I have searched for similar issues before opening a new one.

Description

#9584 is a breaking change. The SVG transform attribute was accessible via WorkspaceSvg.getCanvas(), and replacing setAttribute('transform', ...) with style.transform in translateLayers causes getAttribute('transform') to return null. This breaks dependent code, including the official @blockly/plugin-scroll-options plugin.

Note: @blockly/plugin-scroll-options accesses the element via svgBlockCanvas_, which returns the same element as the public getCanvas().

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue: bugDescribes why the code or behaviour is wrongissue: triageIssues awaiting triage by a Blockly team member

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions