Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Long Submenu Title Being Overlayed By Arrow Icon #22609

Closed
1 task done
johnkmzhou opened this issue Mar 25, 2020 · 1 comment · Fixed by #23028
Closed
1 task done

Long Submenu Title Being Overlayed By Arrow Icon #22609

johnkmzhou opened this issue Mar 25, 2020 · 1 comment · Fixed by #23028
Assignees
Labels
🐛 Bug Ant Design Team had proved that this is a bug. 👷🏻‍♂️ Someone working on it

Comments

@johnkmzhou
Copy link

johnkmzhou commented Mar 25, 2020

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

https://codepen.io/johnzhou/pen/NWqENOY

Steps to reproduce

Create a SubMenu with a long title.

What is expected?

The SubMenu title and arrow icon should be clearly separated.

What is actually happening?

The submenu arrow icon is being overlayed over the title.

Environment Info
antd 4.0.4
React 16.13.1
System Microsoft Windows 10 Pro Version 10.0.17763 Build 17763
Browser Chrome 80.0.3987.132

I know that this can fixed in multiple ways, either adding a fixed width to the SubMenu component or removing the width property from the icon but I would prefer a fix in ant.design because I don't think having a long title is out of the ordinary.

@afc163 afc163 added the 🐛 Bug Ant Design Team had proved that this is a bug. label Mar 26, 2020
@afc163 afc163 self-assigned this Mar 26, 2020
@wwyx778
Copy link
Contributor

wwyx778 commented Apr 3, 2020

I will fix this :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Ant Design Team had proved that this is a bug. 👷🏻‍♂️ Someone working on it
Projects
None yet
4 participants