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

antd 2.5.2 Menu dark主题,二级已选择项的样式不正确 #4253

Closed
conzi opened this issue Dec 14, 2016 · 4 comments
Closed

antd 2.5.2 Menu dark主题,二级已选择项的样式不正确 #4253

conzi opened this issue Dec 14, 2016 · 4 comments

Comments

@conzi
Copy link

conzi commented Dec 14, 2016

发生问题的环境是:

  • antd 版本:2.5.2
  • 操作系统及其版本: mac osx
  • 浏览器及其版本:chrome 54.0.2840.98 (64-bit)

您做了什么?请提供尽可能详细的重现步骤。

<Menu mode="vertical" theme="dark">
   <SubMenu  title={<span><Icon type="plus" /><span className="nav-text">subitem</span></span>}>
    <Menu.Item>选中状态不正确</Menu.Item>
    <Menu.Item>选中状态不正确</Menu.Item>
   </SubMenu>
</Menu>

您期待的结果是:

正常显示高亮

实际上的结果是:

高亮的背景不正确
示意

可重现的在线演示

http://codepen.io/conzi/pen/XNypYK

@benjycui
Copy link
Contributor

这个 demo 没问题吧 https://ant.design/components/menu/#components-menu-demo-theme

Please provide a re-producible demo: http://codepen.io/benjycui/pen/KgPZrE?editors=001

@conzi
Copy link
Author

conzi commented Dec 15, 2016

mode="vertical"时有问题:

http://codepen.io/conzi/pen/XNypYK

@afc163 afc163 closed this as completed in 5b48656 Dec 15, 2016
@afc163
Copy link
Member

afc163 commented Dec 15, 2016

My fault, this problem is introduced at 2.5.2.

@lock
Copy link

lock bot commented May 2, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants