microsoft / microsoft/pxt-microbit
Mobile - Tapping projects in Home doesn't work as expected
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 804
- Forks
- 721
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 2
Description
Describe the bug
Trying to open a project in Home sometimes only scrolls the row, and the project does not open, or a different project opens - possibly the last in the row?
Affects Android and Apple devices, Safari, Chrome and in the apps.
It's most noticeable with just 4 or 5 projects, but still behaves oddly with more - for example when trying to open the next to last visible project.
To Reproduce
Steps to reproduce the behavior:
- Reset MakeCode
- Create 4 new projects
- Try to load the first, second, and third project in portrait and landscape
- Create another project and test loading again
- See error
Expected behavior
Projects open when tapped in the same way as when clicked on a desktop computer.
Screenshots
Tap "automatic data logging" - display scrolls and manual data logging is loaded Perhaps the project to open is hit tested after the scroll. There's no need to scroll.
https://github.com/user-attachments/assets/9c79d06c-7569-4fc7-be8f-b80280e2e703
micro:bit version (please complete the following information):
not hardware related
Desktop (please complete the following information):
- OS: [e.g. iOS] Android, iPadOS
- Browser [e.g. chrome, safari] Chrome, Safari
- Version [e.g. 22] latest
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 Home project-row behavior after resetting MakeCode and creating four projects, testing portrait and landscape on mobile browsers or apps. Trace how taps are handled alongside row scrolling; done when each tapped project consistently opens the selected project without unintended scrolling or loading a different project.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100