Skip to content

AnalyticalTable: column jumps back to original size when entering prev column with cursor while resizing #2665

@Lukas742

Description

@Lukas742

Describe the bug
When reducing the width of the column by dragging the resizer, the resizer jumps back to its original position when entering the area of the previous column.

Isolated Example
http://localhost:6006/?path=/story/data-display-analyticaltable--default-story

2022-03-09_16-32-35.mp4

To Reproduce
Steps to reproduce the behavior:

  1. Go to storybook
  2. Reduce the size of a column by dragging the resizer and leave the current column
  3. See that the column has reset its width

Expected behavior
While resizing a column and moving the resizer past its start point, the column should stay at its min-width and not jump back to its previous size.

UI5 Web Components for React Information
@ui5/webcomponents-react version: 0.22.2

Additional informations:

Internally we use react-table to implement the AnalyticalTable and resizing of columns is currently handled by the useResizeColumns plugin hook. To fix this issue, a custom hook is probably necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    2026-Q2

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions