ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

[SF][Table]: Table OverflowMode-Popin/ Popin no longer hides the column in version 2.0

Open Ankitadoshi opened this issue 1 year ago • 3 comments

Bug Description

When we have a table component in web components version 1.x with some minWidth for table columns demand popin property not specified. Then the columns for which min width is given were getting hidden on screen resize. We see a difference in this behaviour after upgrading to web components 2.0. There is no way to hide the columns on screen resize any more and they are always visible as poped in if we give overflowMode as Popin. Our requirement is to show only first and last columns when the table container is resized which we are no longer able to achieve.

Previous behaviour with version 1.X: There are multiple other columns between the name and the last action column which contains 3 dots. but they are not visible Image

New behaviour with version 2.X: The other columns which were previously not visible are now shown as popin. Image

Code sandbox link with example:

  1. Version 1.X behaviour - https://codesandbox.io/p/sandbox/hungry-lucy-hs598g?workspaceId=ws_2RkXLtnBTTpaKTpy1jSNog
  2. Version 2.X behaviour - https://codesandbox.io/p/sandbox/ui5-wc-table-1-0-behaviour-forked-924fvl?workspaceId=ws_2RkXLtnBTTpaKTpy1jSNog

Affected Component

SF Recruiting

Expected Behaviour

Our requirement is to show only first and last columns when the table container is resized which we are no longer able to achieve. Please let us know if we can achieve this behaviour with version 2.X

Isolated Example

https://codesandbox.io/p/sandbox/hungry-lucy-hs598g?workspaceId=ws_2RkXLtnBTTpaKTpy1jSNog and https://codesandbox.io/p/sandbox/ui5-wc-table-1-0-behaviour-forked-924fvl?workspaceId=ws_2RkXLtnBTTpaKTpy1jSNog

Steps to Reproduce

  1. Open the code sandbox link for version 1.0 - https://codesandbox.io/p/sandbox/hungry-lucy-hs598g?workspaceId=ws_2RkXLtnBTTpaKTpy1jSNog
  2. Resize the window containing table to small screen
  3. Open the code sandbox link for version 2.0 - https://codesandbox.io/p/sandbox/ui5-wc-table-1-0-behaviour-forked-924fvl?workspaceId=ws_2RkXLtnBTTpaKTpy1jSNog
  4. Resize the window containing the table to small screen Observe the difference in the behaviour ...

Log Output, Stack Trace or Screenshots

No response

Priority

None

UI5 Web Components Version

2.4.0

Browser

Chrome

Operating System

No response

Additional Context

No response

Organization

SF

Declaration

  • [x] I’m not disclosing any internal or sensitive information.

Ankitadoshi avatar Jan 28 '25 06:01 Ankitadoshi

Hello @SAP/ui5-webcomponents-table,

Can you check whether this behaviour can be achieved with the new table and advice how to proceed with the request?

Best regards, Petya

petyabegovska avatar Jan 28 '25 16:01 petyabegovska

FYI @SAP/ui5-webcomponents-table

ilhan007 avatar Jan 29 '25 08:01 ilhan007

Hi @Ankitadoshi,

we've already got a feature request for this and have planned a BLI accordingly. Please see #10113 for more information. Closing this as a duplicate, feel free to join the discussion in the other issue.

DonkeyCo avatar Jan 29 '25 08:01 DonkeyCo