Redesign: Fix post being opened by dismissing the post menu on mobile (#40863)

This commit is contained in:
diondiondion
2026-10-05 13:06:32 +00:00
committed by GitHub
parent a5567b15f6
commit df75fd9ca4

View File

@@ -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'
) {