Skip to content

Commit de6264e

Browse files
committed
Keep Markdown menu open after copy
Leave the docs Markdown dropdown open after a successful copy so readers can actually see the copied state feedback. Viewing the page as Markdown still closes the menu, but copy now favors immediate UI confirmation over collapsing the dropdown. Assisted-by: Codex:gpt-5.4
1 parent fc1dd08 commit de6264e

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

docs/.vitepress/theme/components/PageMarkdownActions.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ async function copyMarkdown(event: MouseEvent): Promise<void> {
173173
copyFailedResetTimeout = null;
174174
}
175175
resetCopiedState(2000);
176-
closeMenu(trigger);
177176
} catch {
178177
if (version !== targetUpdateVersion) return;
179178
copied.value = false;

0 commit comments

Comments
 (0)