scratchfoundation / scratchfoundation/scratch-blocks
Support pinch-to-zoom on touch devices
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
Using pinch-to-zoom gesture on mobiles should zoom workspace
Actual Behavior
Pinch-to-zoom gesture is not supported
Related issues/Pr in blockly:
google/blockly#295
google/blockly#1536
google/blockly#1737
In my fork I had cherry committed the following commits and it seems to work ok:
google/blockly@4b064da8e87101cb6ab1898eb7dc0525ff87d67b
google/blockly@d45170b11808c9110d8316117131a177c3ad959e
google/blockly@6326830e85f31fd2c413e0943d70cfb176e09490
google/blockly@580ef211d783ea34f482dfa9dd1f8c714bb2d045
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 reading the related Blockly issues (#295, #1536, and #1737) and reviewing the four referenced Blockly commits to understand the intended touch handling. Test the workspace on a mobile touch device with a pinch gesture; done means the workspace zooms as expected without breaking existing interactions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100