microsoft / microsoft/pxt-microbit
RTL issue with block outline during drag from toolbox in Arabic
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 804
- Forks
- 721
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 2
Description
During the drag the yellow outline is offset from the block, mirrored to the right.
After the drop the outline is correct.
https://github.com/user-attachments/assets/cf3da7c3-0b1a-4b6d-856d-d9068f0aad21
I noticed this when reviewing the new Arabic translation for micro:bit classroom but this seems also to have been spotted and fixed in Blockly via https://github.com/RaspberryPiFoundation/blockly/pull/10152
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
Reproduce the drag from the toolbox in the Arabic RTL editor and compare the misplaced outline during dragging with its correct position after dropping. Read the referenced Blockly pull request and trace the corresponding Blockly integration in pxt-microbit. Done means the outline stays aligned with the block throughout the drag in RTL mode.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, internationalization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100