导航栏中的menu 与 submenu之间的间距怎么调整呢? 💻 示例代码 🚑 其他信息 如下图所示,感觉好难调,https://github.com/ant-design/ant-design/blob/master/components/style/themes/default.less这个里面也没有找到相关配置 mstaoadded the🕵🏻♀️ questionlabelOct 10, 2020 Author mstaocommentedOct 10, 2020• edited xrkffggclo...
MenuFoldOutlined, MenuUnfoldOutlined, PieChartOutlined, MailOutlined, } from '@ant-design/icons-vue'; // you can rewrite it to a single file component, if not, you should config vue alias to vue/dist/vue.esm-bundler.js const SubMenu = { name: 'SubMenu', props: { menuInfo: { type:...
Menu组件的子菜单项弹出框中子菜单项的文字颜色不能自定义,颜色跟随 itemColor, What does the proposed API look like? Menu组件主题变量 subMenuItemColor 控制 子菜单项文字颜色,itemColor控制主菜单项文字颜色 github-actions bot added the unconfirmed label Sep 13, 2024 zzwh5 closed this as completed Sep...
I have searched the issues of this repository and believe that this is not a duplicate. Reproduction link https://ant.design/components/menu/#API Steps to reproduce note I couldn't manage to reproduce it in sandbox but in my application ...
Version 2.10.4 Environment 系统:macOS Sierra 10.12.5 浏览器版本: 58.0.3029.110 (64-bit) Reproduction link https://github.com/Cnax/antd-menu.git Steps to reproduce App.js 中menu的子元素由getMenus(menuConfig)生成和直接写在里面的区分查看代码在页面中的表现
@afc163 不对呀,说的是鼠标移到SubMenu,,官网的例子里都是这样展示不对的https://ant.design/components/menu-cn/#components-menu-demo-inline-collapsed Author zhangchao828 commented Apr 9, 2020 Member afc163 commented Apr 9, 2020 Fixed in #22981 and #23054 Sign up for free to join this ...
Menu文本被选中后,点击SubMenu选项,文本的选中状态没有改变 To Reproduce (重现步骤) Steps to reproduce the behavior: 打开子菜单选项 鼠标悬停于两个菜单选项之间。 待鼠标由“小手”变成“箭头”之后,长按鼠标左键不放,框选菜单选项, 此时选中的菜单文本处于选中状态,点击鼠标起始位置的子菜单选项,文本选中状态不...
( <SubMenu key={node.id} icon={ <PlusSquareOutlined onClick={(e: React.MouseEvent) => { e.stopPropagation(); clickPlus(node); }} /> } title={node.name} > {node.children && node.children.map((node2: DirectoryItem) => { return ( <Menu.Item onClick={() => onClickMenueItem(...
Steps to reproduce 需求是要自定义下拉菜单, 最初使用的是 Dropdown, 但 Dropdown不支持自定义 content , 所以选择了 Popover 这时问题出现了, Popover 的 content 是一个组合的多级菜单,由 Menu, ItemGroup, SubMenu, Item 组合而成 当其中一个 SubMenu 的子菜单数量较大时, 鼠标移到某个菜单项上方,其对应...
An enterprise-class UI design language and React UI library - fix: Menu submenu selected text color (#52617) · ant-design/ant-design@27600b6