You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for similar issues before opening a new one.
Description
The Blockly workspace is anchored to the left in both LTR and RTL modes. Because of this, the blocks on the workspace move unexpectedly when changing the size of the window in RTL mode.
On Code.org's platform, we have a fixed edge at the top and on the side of the toolbox. When the blocks hit the toolbox, Blockly bumps them back into bounds, which changes their positions. This is especially problematic for immovable top blocks. (See Code.org RTL with Fixed Edges video.) This can be partially mitigated by turning off fixed edges, but this is not a good solution for us. (See Code.org RTL with No Fixed Edges video.)
Check for duplicates
Description
The Blockly workspace is anchored to the left in both LTR and RTL modes. Because of this, the blocks on the workspace move unexpectedly when changing the size of the window in RTL mode.
On Code.org's platform, we have a fixed edge at the top and on the side of the toolbox. When the blocks hit the toolbox, Blockly bumps them back into bounds, which changes their positions. This is especially problematic for immovable top blocks. (See Code.org RTL with Fixed Edges video.) This can be partially mitigated by turning off fixed edges, but this is not a good solution for us. (See Code.org RTL with No Fixed Edges video.)
Reproduction steps
Stack trace
No response
Screenshots
Blockly Playground LTR
ltr.mp4
Blockly Playground RTL
rtl.mp4
Code.org LTR
2024-11-01.13-55-01.2024-11-01.13_59_57.mp4
Code.org RTL
Fixed edges
fixed.mp4
No fixed edges
unfixed.mp4
Browsers
No response
The text was updated successfully, but these errors were encountered: