Skip to content

fix: Menu behavior when hover gap #23511

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

Merged
merged 1 commit into from
Apr 23, 2020
Merged

fix: Menu behavior when hover gap #23511

merged 1 commit into from
Apr 23, 2020

Conversation

afc163
Copy link
Member

@afc163 afc163 commented Apr 23, 2020

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / document update
  • Component style update
  • TypeScript definition update
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

🔗 Related issue link

close #13955

💡 Background and solution

鼠标移到 gap 处的时候,menu 会消失,这里优化一下。

📝 Changelog

Language Changelog
🇺🇸 English Optimize Menu behavior when hover on submenu gap.
🇨🇳 Chinese 优化 Menu 鼠标移到缝隙处子菜单会消失的问题。

☑️ Self Check before Merge

⚠️ Please check all items below before review. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

@ant-design-bot
Copy link
Contributor

ant-design-bot commented Apr 23, 2020

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit d2e10aa:

Sandbox Source
antd reproduction template Configuration

@hengkx
Copy link
Member

hengkx commented Apr 23, 2020

bug1
两个菜单中间也有一条看不见的缝

@afc163 afc163 merged commit cd34b62 into master Apr 23, 2020
@afc163 afc163 deleted the fix-menu-gap branch April 23, 2020 03:17
@afc163
Copy link
Member Author

afc163 commented Apr 23, 2020

@hengkx 问题不大,item 之间有 8px margin。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

hover the gap between Menu & subMenu could cause subMenu flashing show/hide
3 participants