Skip to content

Fix theme dropdown opening - #72

Merged
CrazyBoy49z merged 1 commit into
2.x-devfrom
fix/theme-switcher-open
Sep 28, 2026
Merged

CrazyBoy49z merged 1 commit into
2.x-devfrom
fix/theme-switcher-open

Conversation

@CrazyBoy49z

Copy link
Copy Markdown
Member

Summary

  • keep the theme dropdown mounted with x-show instead of creating it with x-if
  • stop the trigger click from bubbling
  • prevent the newly-created outside-click handler from immediately closing the dropdown
  • position the dropdown directly below the trigger with top-full right-0

This addresses the case where the theme button reacts but the theme list never stays open.

@CrazyBoy49z
CrazyBoy49z merged commit 5df3985 into 2.x-dev Sep 28, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant