Skip to content

Trashcan flyout is not repositioned when device is rotated #5799

@gonfunko

Description

@gonfunko

Describe the bug
The trashcan flyout can become misaligned (a gap between the flyout and the right edge of the workspace) when the flyout is opened and an iOS device is rotated.

To Reproduce

  1. Go to https://google.github.io/blockly/tests/multi_playground.html on an iPad
  2. Open the trashcan flyout
  3. Rotate the iPad
  4. Observe that the trashcan flyout is misaligned.

Expected behavior
Trashcan flyout should continue to be aligned to the right edge of the workspace.

Screenshots
Blockly Playground

Device

  • Device: 11" iPad Pro
  • OS: iOS 15.1
  • Browser: Safari

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions