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

Tree: Unnecessary scroll bar coming up in RTL mode.

Open SriramParamasivam opened this issue 5 years ago • 9 comments

Describe the bug Unnecessary scroll bar coming up in RTL mode.

Isolated Example https://sap.github.io/ui5-webcomponents-react/?path=/docs/data-display-tree--default-story&globals=direction:rtl

To Reproduce Steps to reproduce the behavior:

  1. Go to Tree component https://sap.github.io/ui5-webcomponents-react/?path=/docs/data-display-tree--default-story&globals=direction:rtl
  2. See unwanted scrollbar showing up even though the text is not longer.

Expected behavior Scrollbar should not come.

Screenshots image

UI5 Web Components for React Information @ui5/webcomponents version: 0.31.16 @ui5/webcomponents-react version: 0.131.18 Operating System: Browser:

Additional context Add any other context about the problem here.

SriramParamasivam avatar Sep 16 '21 19:09 SriramParamasivam

Thanks for reporting! I'll forward this issue to our UI5 Web Components Colleagues as the affected component is developed in their repository.

MarcusNotheis avatar Sep 17 '21 05:09 MarcusNotheis

Hello @SAP/ui5-webcomponents-topic-p could you take a look of this issue. The issue itself is not that severe, but the priority is high, because of the short deadline for resolving.

ilhan007 avatar Sep 17 '21 06:09 ilhan007

This issue is caused by the invisible text, which is also an issue in SideNavigation and List, when in RTL mode. #3503

georgimkv avatar Sep 17 '21 08:09 georgimkv

Fixed with 0.31.18

ilhan007 avatar Sep 20 '21 14:09 ilhan007

This issue still happening in MultiSelect Mode. Please have a look at this Code sandbox, https://codesandbox.io/s/eager-wu-7wr8r?file=/src/App.js

Thanks, Sriram Paramasivam

SriramParamasivam avatar Oct 05 '21 11:10 SriramParamasivam

Hello @PetyaMarkovaBogdanova

the issue seems to be reproducible after the fix, see the sample: https://codesandbox.io/s/eager-wu-7wr8r?file=/src/App.js

The sample uses version 0.31.20 and it includes the fix (the fix has been downported and available since 0.31.18).

Here is the downported change.

Could you once again investigate the issue?

ilhan007 avatar Oct 07 '21 07:10 ilhan007

Hi @SriramParamasivam,

Could you check again? I'm not able to reproduce the issue.

Regards, Nayden

nnaydenow avatar Oct 07 '21 12:10 nnaydenow

Hi @SriramParamasivam ,

Just pinging you to know that I reproduced the issue.

nnaydenow avatar Oct 07 '21 12:10 nnaydenow

Hello @SriramParamasivam the fix is released with v0.31.21

ilhan007 avatar Oct 25 '21 07:10 ilhan007