Some touch interactions have a lag on mobile
@fredvisser is already working on this.
Since Mar 1, 2024.
- Dominant language
- TypeScript
- Stars
- 39
- Forks
- 14
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 13
Description
🐛 Bug Report
Some touch interactions have a lag on mobile. These include pressing the formatting buttons on the rich-text-editor and the +/- buttons on the number-field (just two examples, we should do a pass and find all the interactions with the 300ms delay issue on mobile).
💻 Repro or Code Sample
Go to storybook on mobile and view the number-field story. Notice the slight lag between pressing the +/- buttons and the value updating.
🤔 Expected Behavior
Pressing these buttons on mobile should be nearly instantaneous, as they are on a desktop browser.
😯 Current Behavior
There is a slight lag when pressing the buttons.
💁 Possible Solution
Use touch-action: manipulation to style these buttons (and any other that it makes sense on).
🔦 Context
🌍 Your Environment
Safari on iOS
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.
Assessment
This issue has not been assessed yet.