epam / UUI

React-based components and accelerators library built by EPAM Systems.
https://uui.epam.com/
MIT License
174 stars 65 forks source link

DataTable become useless if the pinned columns width exceed the table width. #448

Open shum-dev opened 2 years ago

shum-dev commented 2 years ago

Expected Behavior

The pinned column border is not moved beyond the table borders, it stays inside the table container and can be reached. Expect to have width limits (max/min) for scrollable and pinned columns areas (it might be hardcode for some reasonable min and max widths).

Current Behavior

The pinned column's border might be placed beyond the table borders by dragging a pinned columns age outside the table, due to this, the edge of the column is not visible and unpinned columns are not displayed.

Steps to Reproduce

  1. Pin some columns to the left of the table
  2. Move the right border of the far right pinned column beyond the edge of the table
  3. Try to scroll horizontally

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

AlekseyManetov commented 2 years ago

Sorry, but i don't exactly got what your mean. Could you please provide the video or codesendox with this bug behavior?

shum-dev commented 2 years ago

https://user-images.githubusercontent.com/40317982/154414182-b326e370-20e9-459c-ba56-fc32196871c6.mp4

Here it is

AlekseyManetov commented 1 year ago

I guess we need to limit width of fixed section that it will not be more than table width container and user had possibility to resize fixed column to more smaller size

dzevakov commented 1 year ago

After discussions with Yakov Zhmourov, it was decided to postpone the fix until the completion of temification.

Possible implementation steps: