Skip to content

Incorrect position for pasted blocks on RTL workspaces #9138

Description

@mikeharv

Check for duplicates

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

Description

With Blockly v12, there is a regression that causes the horizontal position of pasted/duplicated blocks to be inverted.

Reproduction steps

  1. Load any RTL workspace, such as https://blockly-demo.appspot.com/static/tests/playground.html?dir=rtl&toolbox=categories
  2. Place a block on the left or right side of the workspace, avoiding the middle.
  3. Copy and paste (or duplicate) the block.

Stack trace

Screenshots

LTR (Working as expected)

Image
Image

RTL (Unexpected placement)

Image
Image

Browsers

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions