Skip to content

Summon 0.5.6.2

Choose a tag to compare

@github-actions github-actions released this 30 Nov 09:55
· 45 commits to main since this release

Fixed

  • Toggle/Disclosure Buttons Not Working - Fixed multiple issues preventing toggle actions from working
    • Fixed inline bootloader script to handle data-action immediately without checking hydration state
    • Fixed GlobalEventListener to dispatch data-action events immediately without buffering for hydration
    • Fixed toggleElementVisibility to preserve original display value using data-original-display attribute
    • Changed default display value from "block" to "flex" for layout containers
    • Updated tests to match new display value behavior

Technical Details

The toggle buttons (hamburger menu, disclosure) were not working due to three issues:

  1. The inline bootloader script was skipping data-action handling when window.__SUMMON_HYDRATION_ACTIVE__ was true
  2. GlobalEventListener was buffering data-action events for non-hydrated elements instead of dispatching immediately
  3. toggleElementVisibility was defaulting to display: block instead of preserving the original computed display value

All three issues have been fixed. The data-action pattern is now handled immediately client-side without any hydration state checks.