Summon 0.5.6.2
Fixed
- Toggle/Disclosure Buttons Not Working - Fixed multiple issues preventing toggle actions from working
- Fixed inline bootloader script to handle
data-actionimmediately without checking hydration state - Fixed
GlobalEventListenerto dispatchdata-actionevents immediately without buffering for hydration - Fixed
toggleElementVisibilityto preserve original display value usingdata-original-displayattribute - Changed default display value from
"block"to"flex"for layout containers - Updated tests to match new display value behavior
- Fixed inline bootloader script to handle
Technical Details
The toggle buttons (hamburger menu, disclosure) were not working due to three issues:
- The inline bootloader script was skipping
data-actionhandling whenwindow.__SUMMON_HYDRATION_ACTIVE__was true GlobalEventListenerwas bufferingdata-actionevents for non-hydrated elements instead of dispatching immediatelytoggleElementVisibilitywas defaulting todisplay: blockinstead 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.