You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So it would call onMouseDown after calling onTouchStart and I don't think you want that happening if TouchStart is fired you don't want to then fire again on MouseDown.
melloware
added
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Oct 31, 2022
OK I was able to handle event.preventDefault a different way.
melloware
added
Type: Bug
Issue contains a defect related to a specific component.
and removed
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
labels
Oct 31, 2022
Describe the bug
in mobile, ripple position is always top: 0px, left: 0px.
because onMouseDown params is not MouseEvent in mobile
it's TouchDown event.
so use targetTouches pageX and pageY
and i have one question...
why event prevent in onTouchStart?
i want scroll event, but touch start event prevented.
Reproducer
No response
PrimeReact version
8.7.1-SNAPSHOT
React version
18.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
Chrome 106.0.5249.119
Steps to reproduce the behavior
Expected behavior
ripple effect start on touched point
The text was updated successfully, but these errors were encountered: