• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

twbs / bootstrap / 36268040860
94%
main: 96%

Build:
Build:
LAST BUILD BRANCH: v6-dev
DEFAULT BRANCH: main
Ran 26 Sep 2026 08:02PM UTC
Jobs 1
Files 33
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Sep 2026 08:01PM UTC coverage: 93.659% (-0.06%) from 93.717%
36268040860

push

github

web-flow
Fix OTP input truncation for formatted paste (#42953)

* Add failing test when pasting into OTP input

* Fix OTP input pasting being truncated

* Reduce bundle size, test for disposing paste listener

* fix(otp-input): preserve native paste behavior

Pasting a formatted OTP avoids maxlength truncation, but the custom
handler replaces the complete value for every paste and changes readonly
fields.

Insert partial codes into the selected range, replace the existing value
only for complete codes, and leave readonly or empty pastes unchanged.
Update the paste tests to emulate native maxlength insertion.

* perf(otp-input): reduce paste handler bundle size

The paste behavior fix pushes the unminified bundle above its size limit.
Reuse mutable selection bounds instead of repeated conditional expressions
to preserve the behavior with less generated code.

---------

Co-authored-by: Sondre Aasemoen <sondre@eons.io>

1842 of 2076 branches covered (88.73%)

Branch coverage included in aggregate %.

29 of 30 new or added lines in 1 file covered. (96.67%)

3741 of 3885 relevant lines covered (96.29%)

130.73 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
91.99
-1.17% js/src/otp-input.ts
Jobs
ID Job ID Ran Files Coverage
1 36268040860.1 26 Sep 2026 08:02PM UTC 33
93.66
GitHub Action Run
Source Files on build 36268040860
  • Tree
  • List 33
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #36268040860
  • e2b18a61 on github
  • Prev Build on v6-dev (#36220545264)
  • Next Build on v6-dev (#36268562580)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc