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

kobotoolbox / kpi / 27608641316 / 4
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 16 Jun 2026 09:47AM UTC
Files 881
Run time 30s
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

16 Jun 2026 09:40AM UTC coverage: 54.835% (+4.7%) from 50.167%
27608641316.4

push

github

web-flow
fix(dataTable): filter input losing focus DEV-2245 (#7148)

### πŸ“£ Summary

Fixed filter inputs in the Data Table losing focus while typing, which
caused keystrokes to be lost after query completion.

### πŸ’­ Notes

Changes here:
- **New files** (pulled stable components out to fix React remounting):
  - `TableDropdownFilter.tsx` β€” Dropdown filter for select questions
    - Migrated the raw `<select>` to Mantine Select
  - `TableTextFilter.tsx` β€” Text input filter with debouncing
- **table.tsx**:
- Replaced inline filter component definitions in `_prepColumns` with
wrapper functions that use the stable imported components

The bug: filter components were getting redefined inside `_prepColumns`
every time it ran. When queries came back, React saw brand new component
references and unmounted/remounted themβ€”bye bye focus, bye bye anything
you were typing.

Now the filter components live in their own files. React sees the same
reference each time and keeps focus, debounce timers, and cursor
position intact.

### πŸ‘€ Preview steps

1. ℹ️ Have an account with a project that has submissions
2. Go to Project β†’ Data β†’ Table
3. Click on any column filter input (search box or dropdown at the top
of a column)
4. Start typing quickly in the filter
5. πŸ”΄ [on main] The input loses focus mid-typing and your keystrokes
vanish
6. 🟒 [on PR] The input keeps focus while you type and captures
everything
7. Keep typing to check that the debounced query fires after 300ms
8. 🟒 Filter results update without stealing focus

---------

Co-authored-by: James Kiger <68701146+jamesrkiger@users.noreply.github.com>

5173 of 12142 branches covered (42.6%)

19891 of 36274 relevant lines covered (54.84%)

0.55 hits per line

Source Files on job 27608641316.4
  • Tree
  • List 881
  • Changed 193
  • Source Changed 0
  • Coverage Changed 193
Coverage βˆ† File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 27608641316
  • 0e0b1233 on github
  • Prev Job for on main (#27607895937.1)
  • Next Job for on main (#27608652545.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc