maskito
maskito copied to clipboard
🐞 - `Number` does not support float `min`-parameter (0 < x < 1)
Which package(s) are the source of the bug?
@maskito/kit
Playground Link
https://maskito.dev/kit/number/API?min=0.2&precision=2
Description
Case 1:
- Open https://maskito.dev/kit/number/API?min=5.1&precision=2
- Enter
5.1
(min value) - Type
Backspace
Decimal digit is erased and new digit can be typed ✅
Case 2:
- Open https://maskito.dev/kit/number/API?min=0.1&precision=2
- Enter
0.1
(min value) - Type
Backspace
It is impossible to erase decimal part ❌
https://github.com/taiga-family/maskito/assets/35179038/04baaa2c-e366-4650-9a50-0c812f74df68
Maskito version
2.3.1
Which browsers have you used?
- [X] Chrome
- [ ] Firefox
- [ ] Safari
- [ ] Edge
Which operating systems have you used?
- [X] macOS
- [ ] Windows
- [ ] Linux
- [ ] iOS
- [ ] Android