Tree: Unnecessary scroll bar coming up in RTL mode.
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:
- Go to Tree component https://sap.github.io/ui5-webcomponents-react/?path=/docs/data-display-tree--default-story&globals=direction:rtl
- See unwanted scrollbar showing up even though the text is not longer.
Expected behavior Scrollbar should not come.
Screenshots

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.
Thanks for reporting! I'll forward this issue to our UI5 Web Components Colleagues as the affected component is developed in their repository.
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.
This issue is caused by the invisible text, which is also an issue in SideNavigation and List, when in RTL mode. #3503
Fixed with 0.31.18
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
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?
Hi @SriramParamasivam,
Could you check again? I'm not able to reproduce the issue.
Regards, Nayden
Hi @SriramParamasivam ,
Just pinging you to know that I reproduced the issue.
Hello @SriramParamasivam the fix is released with v0.31.21