ant-design/ant-design

Menu.Item title tooltip is visible on mobile after Layout.Sider is collapsed with 0 width

Open

#32,402 opened on Oct 8, 2021

View on GitHub
 (5 comments) (0 reactions) (0 assignees)TypeScript (98,031 stars) (54,612 forks)batch import
Inactivehelp wanted📱Mobile Device

Description

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

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. Open full page version https://mmyyd.csb.app/ on mobile or in browser responsive mode
  2. Interact with the menu

Note that this bug only happens on mobile or in responsive

What is expected?

Tooltip should not be visible when menu is collapsed

What is actually happening?

See GIF https://i.imgur.com/G8wt5B4.gif

Environment Info
antd 4.16.13
React 17.0.2
System Windows 10
Browser Chrome

Contributor guide