-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Fixed the hover issue for sub-menu for card attachment #4494
base: main
Are you sure you want to change the base?
Fixed the hover issue for sub-menu for card attachment #4494
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately, I did not have a look at this issue carefully. I have sent @Rajat-Dabade a video on the expected behaviour.
/update-branch |
@@ -122,8 +122,18 @@ const AttachmentElement = (props: Props): JSX.Element|null => { | |||
document.body.removeChild(anchor) | |||
} | |||
|
|||
const handleMouseLeave = () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, DOM manipulation is an expensive operation. I suppose you're doing this to remove focus from something? There must be a better way for this.
This PR has been automatically labelled "stale" because it hasn't had recent activity. |
Summary
This PR fixes the closing of the sub-menu when hovering out the file attachment.
Ticket Link
Fixes #4374