-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
fix: attachment menu position #52021
Changes from 5 commits
df70673
9e37309
62cd803
36a0550
f819839
f6d850e
6afa43b
f3d0eba
91d791b
ec64bca
3883b5e
c4da175
f12f6bc
52985d0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,8 +64,7 @@ function hideContextMenu(shouldDelay?: boolean, onHideCallback = () => {}) { | |
return; | ||
} | ||
if (!shouldDelay) { | ||
contextMenuRef.current.hideContextMenu(onHideCallback); | ||
|
||
onHideCallback(); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This change causes the context menu to stay open on mobile. Screen.Recording.2024-11-19.at.10.36.51.movThere was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks @j-piasecki for pointing this out. |
||
return; | ||
} | ||
|
||
|
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.
@teneeto Thanks for the PR.
Can you please share some information on how this change helps in resolving the issue?
Also, this code has not been changed for quite some time. So, I am curious to know what recent changes could have triggered this issue.