material-components / material-components/material-web
Ripple has delay on mobile
Nobody has claimed this yet.
- Dominant language
- SCSS
- Stars
- 11.3k
- Forks
- 1.1k
- Avg merge
- 20h 28m
- Merged PRs (30d)
- 13
Description
What is affected?
Component
Description
The mobile Ripple effect experiences a slight delay of a few milliseconds between pressing a button and the effect being displayed.
Reproduction
Try it anywhere.
Try it on this button: Material outlined button
Workaround
I have not found a workaround.
Is this a regression?
No or unsure. This never worked, or I haven't tried before.
Affected versions
All versions
Browser/OS/Node environment
It does occur on tested Android 14/Chrome device, but not on computer.
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 running the linked Lit playground for the Material outlined button and compare the Ripple behavior on Android Chrome with a computer. Trace the Ripple implementation used by that button and identify why the visual effect is delayed on mobile; done means the effect appears without the reported delay while existing desktop behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100