ni / ni/nimble

Some touch interactions have a lag on mobile

Open
#1,645 1 comment 0 reactions 1 assignee View on GitHub

@fredvisser is already working on this.

Since Mar 1, 2024.

bug
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.