-
Notifications
You must be signed in to change notification settings - Fork 474
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
fix(kit): InputNumber
has rounding problems on blur with float large numbers
#9974
Conversation
Pull request was closed ✔️All saved screenshots (for current PR) were deleted 🗑️ |
projects/legacy/components/input-number/input-number.component.ts
Outdated
Show resolved
Hide resolved
Visit the preview URL for this PR (updated for commit a057a15): https://taiga-previews-demo--pr9974-format-number-bug-demo-lkz9tkc2.web.app (expires Fri, 13 Dec 2024 13:59:12 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 73dddc3c665194f3e11f18c16aeb71af4c289c37 |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9974 +/- ##
==========================================
- Coverage 66.19% 66.18% -0.02%
==========================================
Files 1214 1214
Lines 15696 15700 +4
Branches 2320 2343 +23
==========================================
+ Hits 10390 10391 +1
+ Misses 4981 4977 -4
- Partials 325 332 +7
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
BundleMonFiles updated (1)
Unchanged files (4)
Total files change +100B +0.02% Groups updated (1)
Final result: ✅ View report in BundleMon website ➡️ |
9a21575
to
b5dcfa9
Compare
Playwright test results 2 failed Details Open report ↗︎ Failed testschromium › tests/legacy/input-number/input-number.pw.spec.ts › InputNumber › API › does not mutate already valid too large number on blur Flaky testswebkit › tests/demo/demo.pw.spec.ts › Demo › /navigation/app-bar Skipped testswebkit › tests/addon-commerce/input-card-group.pw.spec.ts › InputCardGroup › Examples › input card grouped with validation |
Previous behavior:
123_456_789_012_345.69
New behavior:
123_456_789_012_345.67
Fixes #9970