fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Nav: link text is clipped by drop-icon when switched to RTL mode

Open mdahamiwal opened this issue 9 years ago • 1 comments

Bug Report

  • Package version(s): master

Describe the issue:

In RTL mode the expandable navigation link text is clipped by drop icon on first load. Morover, the indentation for other elements is also affected. Check level 1 elements. image

However, once we interact with the nav it goes away. Its an issue with the way padding is applied to Nav anchors. In this particular case we apply style through JS code in _renderAnchorLink() method and it doesn't trigger re-render if we switch from LTR to RTL mode. Might not be an issue if browser is already set to RTL.

Expected behavior:

image

If applicable, please provide a codepen repro:

https://fabricreact.azurewebsites.net/fabric-react/master/#/examples/nav

mdahamiwal avatar Jan 13 '17 07:01 mdahamiwal

@mdahamiwal I tried to repro the issue and seems it's working fine in IE and Chrome . Can you check and let me know if you are still facing the issue.

gitjain avatar Mar 31 '17 20:03 gitjain