-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
InputNumber: increased value by 2 on touch device #3943
Labels
Device: Mobile
Issue or pull request is *only* related to Mobile device
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Milestone
Comments
SlavaGeorgiev
added
the
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
label
Jan 10, 2023
melloware
changed the title
Component: InputNumber increased value by 2 on touch device
InputNumber: increased value by 2 on touch device
Jan 10, 2023
melloware
added
Device: Mobile
Issue or pull request is *only* related to Mobile device
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Jan 10, 2023
melloware
added a commit
to melloware/primereact
that referenced
this issue
Jan 10, 2023
melloware
added a commit
to melloware/primereact
that referenced
this issue
Jan 10, 2023
Thanks for the report! |
melloware
added a commit
that referenced
this issue
Jan 10, 2023
melloware
added a commit
to melloware/primereact
that referenced
this issue
Jan 15, 2023
I submitted a better fix! |
github-actions
bot
added
the
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
label
Jan 15, 2023
By when can we expect to have it available? |
Hopefully very soon. It's up to PrimeTek I have no control over releases 😀 |
melloware
added a commit
that referenced
this issue
Jan 22, 2023
mflagey
pushed a commit
to mflagey/primereact
that referenced
this issue
Feb 14, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Device: Mobile
Issue or pull request is *only* related to Mobile device
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Describe the bug
The component InputNumber increased or decreases the value by 2 when using it on a touch device. This happens not on desktop devices. Please see the sandbox. This needs to be opened into new window to reproduce the error. In the sandbox it self it doesn't happen. Additionally following error is appearing in the console:
Unable to preventDefault inside passive event listener invocation.
Reproducer
https://codesandbox.io/s/late-rgb-jhl1l4?file=/src/App.tsx
PrimeReact version
8.7.3
React version
18.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
Chome 108.0.5359.124
Steps to reproduce the behavior
Expected behavior
Value should be decreased by one or as specified when using on touch device.
The text was updated successfully, but these errors were encountered: