Skip to content

Commit

Permalink
style(menu): add tooltip mouse enter delay
Browse files Browse the repository at this point in the history
  • Loading branch information
jigsawye committed Feb 13, 2019
1 parent 0dbf225 commit 8f28096
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/NewMenu/SubMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ const SubMenu: FunctionComponent<ISubMenuProps> = ({
placement="right"
content={title}
visible={!contentVisible && tooltipVisible}
mouseEnterDelay={800}
onVisibleChange={visible => {
if (!contentVisible) {
setTooltipVisible(visible);
Expand Down

0 comments on commit 8f28096

Please sign in to comment.