You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In fact, in the ng-zorro-antd tutorial ( https://ng.ant.design/components/menu/zh ) in the menu tutorial, the inline-collapsed section is indented.
When the menu is shrunk, the sub-menu menu item, when the mouse pointer is popped up, the tooltip generated by the mousetip is as follows:
The outer ul has a layer of ul. The structure is not standardized.
And when writing css, there will be some unnecessary troubles. For the inner ul without ant-menu class, there will be some other ul stypes with additional undesirable effects.
What is expected?
Generate the canonical html, ul should be directly li instead of an extra layer of ul
Reproduction link
https://stackblitz.com/edit/angular-y8hplm
Steps to reproduce
其实就是ng-zorro-antd教程( https://ng.ant.design/components/menu/zh ) 中 menu教程中 缩起内嵌菜单 (inline-collapsed) 部分
当把菜单收缩起来后,其中sub-menu的菜单项,当鼠标指上后弹出的tooltip 其生成的html代码如下:
外面的ul包了一层 ul 结构不规范
并且在写css的时候,会有一些不必要的麻烦,对内层ul没有 ant-menu的class 会有一些其它的ul的stype发生额外不希望的效果
What is expected?
生成规范的html,ul里应该直接是li 而不应该额外包一层ul
What is actually happening?
ul 中 包含ul
The text was updated successfully, but these errors were encountered: