primefaces / primeng

The Most Complete Angular UI Component Library
https://primeng.org
Other
9.84k stars 4.51k forks source link

InputNumber: Backspace in Firefox removes 2 characters #15389

Open sabouri opened 2 months ago

sabouri commented 2 months ago

Describe the bug

Inside a simple InputNumber element, pressing backspace in Firefox removes 2 characters. The same page works fine in Chrome, i.e. removes one character at a time.

Environment

Browser: Firefox 124.0.1 OS: Linux 6.8.1-1-ck-generic-v3

Reproducer

https://stackblitz.com/edit/github-spt2te?file=src%2Fapp%2Fapp.component.html

Angular version

17.0.0

PrimeNG version

17.12.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

21.7.1

Browser(s)

Firefox 124

Steps to reproduce the behavior

  1. Type a few digits in the InputText.
  2. Press backspace.

Expected behavior

Only one character to be deleted.

github-actions[bot] commented 2 weeks ago

We're unable to replicate your issue, if you are able to create a reproducer by using PrimeNG Issue Template or add details please edit this issue. This issue will be closed if no activities in 20 days.