InputNumber: Caret jump in decimal fields on Android

オープン
#8,499 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
react
領域
frontend

調査の方向性

InputNumberコンポーネントから始め、AndroidデバイスまたはChromeのモバイルエミュレーションを使用して、primereact.org/inputnumberで問題を再現します。Min-Max Fraction Digitsフィールドで整数部分の数字を削除し、新しい数字を2桁入力します。削除によって値が正しく更新され、入力した2桁の数字がどちらも整数部分に残り、DesktopおよびiOSと同じ動作になることを確認できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Status: Needs Triage
Describe the bug

The issue occurs in the InputNumber component with Min-Max Fraction Digits (decimal) on Android Devices. If a user deletes the digits in the integer part (before the separator) and then types two new digits.

The first digit is placed in the integer part, but the second digit is automatically placed in the fractional part (caret jump). The field value does not update correctly upon deletion as on iOS and desktop browsers.

Reproducer

No response

System Information
Product name: Xiaomi Redmi 8A
OS: Android 10
Primereact: 10.9.7
Browser: Google Chrome 144.0.7559.109
Steps to reproduce the behavior
  1. Go to www.primereact.org/inputnumber
  2. Click on input number with Min-Max Fraction Digits in the page.
  3. Delete the numbers located before the separator.
  4. Enter two numbers.
Expected behavior

The field value is updated correctly upon deletion. The second digit is placed in the integer part. Behavior is as expected on desktop browsers and iOS.

主要言語
CSS
スター
8.3k
フォーク
1.2k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

primefaces/primereact のほかの issue

primefaces/primereact の issue をすべて見る

似ている issue

Web Dev の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。