scratchfoundation / scratchfoundation/scratch-blocks
In RTL, blocks don't return to their position after dragging outside the area
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.8k
- Forks
- 1.6k
- Avg merge
- 4h 51m
- Merged PRs (30d)
- 12
Description
Expected Behavior
When blocks are dragged outside the area, they should reappear in their original position.
Actual Behavior
In LTR this works as expected. In RTL, the blocks appear in another position.
Steps to Reproduce
Open vertical_playground.html. Change direction to RTL. Add a block to the area. Drag it outside the area, to the pane on the left. It appears in another position.
(I noticed this in scratch, when copying a block into another sprite by dragging it. The block is moved to another position.)
Operating System and Browser
Ubuntu 16.04, Chrome Version 84.0.4147.89 (Official Build) (64-bit).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in vertical_playground.html: switch the direction to RTL, add a block, and drag it outside the area to the left pane. Trace the drag-out behavior and compare it with LTR handling. Done means the block returns to its original position in RTL as it does in LTR.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100