Skip to content
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: @input binding function not working as expected on mobile devices #5836

Open
Amr097 opened this issue Jun 5, 2024 · 3 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@Amr097
Copy link

Amr097 commented Jun 5, 2024

Describe the bug

In PrimeVue InputNumberComponent, @input binding function works fine on desktop but backspace doesn't execute the function on mobile devices.

Reproducer

https://comlib.netlify.app/component/vue-popup/PopupPrimevueReproduce

PrimeVue version

^3.46.0

Vue version

3.x

Language

ES6

Build / Runtime

Vue CLI App

Browser(s)

No response

Steps to reproduce the behavior

1-Visit the case reproduce demo on mobile device
2- Open Popup
3- Fill Input1 & Input2
4- Backspace the input values

Expected behavior

On deleting values the applyCalculation function is expected to be executed updating the output field value.

@Amr097 Amr097 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jun 5, 2024
@tugcekucukoglu
Copy link
Member

Could you share a stackblitz demo? PR has many code duplication.

@Amr097
Copy link
Author

Amr097 commented Jun 10, 2024

Could you share a stackblitz demo? PR has many code duplication.

https://stackblitz.com/edit/vitejs-vite-ea9jgs?file=README.md

@manij89
Copy link

manij89 commented Jun 28, 2024

Backspace functionality is also not working as expected on android devices for InputOtp, maybe it is a similar issue @tugcekucukoglu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

3 participants