mirror of
https://github.com/mastodon/mastodon.git
synced 2026-10-25 02:30:44 -05:00
Redesign: Fix post being opened by dismissing the post menu on mobile (#40863)
This commit is contained in:
@@ -163,7 +163,7 @@ export function useStatusHandlers({
|
||||
const target = event.target;
|
||||
if (
|
||||
!(target instanceof HTMLElement) ||
|
||||
target.closest('a, button') ||
|
||||
target.closest('a, button, dialog') ||
|
||||
contextType === 'detailed' ||
|
||||
window.getSelection()?.type === 'Range'
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user