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

UI5 / webcomponents-react / 24084325523

07 Apr 2026 01:36PM UTC coverage: 83.068% (-0.03%) from 83.1%
24084325523

push

github

web-flow
feat(AnalyticalTable): optimize column resize performance and handling (#8392)

This PR forks the`useResizeColumns` `react-table` hook with the
following main adjustments:

- Deferred resize: CSS transform feedback during drag (zero renders),
single state dispatch on mouseup
- RTL delta inversion inlined into the reducer (previously handled in
`stateReducer.ts`)
- Added `e.preventDefault()` on mousedown to prevent text selection in
Firefox during drag
- Added 3px dead zone and `data-active-resizer` attribute for
double-click compatibility
- Clamped resize width to `minWidth` in both the visual drag and the
reducer (original clamps to 0)

Also, the `useOnClumnResize` plugin hook needed to be adjusted, as
deferred resizing doesn't update the table state on each tick. Threfore,
for the live mode of the hook, the respective event handler is now
registered inside the hook.

Fixes #2665

---------

Co-authored-by: Marcus Notheis <marcus.notheis@sap.com>

2561 of 3371 branches covered (75.97%)

Branch coverage included in aggregate %.

5107 of 5860 relevant lines covered (87.15%)

105032.14 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

74.47
/packages/main/src/components/AnalyticalTable/tableReducer/stateReducer.ts


Source Not Available

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