Skip to content

Summon 0.5.8.3

Choose a tag to compare

@github-actions github-actions released this 11 Dec 11:14
· 30 commits to main since this release

Fixed

  • Dropdown Click Toggle Not Working - Fixed critical bug where clicking dropdown trigger did not expand the menu

    • Root cause: ClientDispatcher.parseUiAction() was using js("JSON.parse(jsonStr)") which doesn't properly capture the Kotlin variable jsonStr in the JavaScript context
    • Solution: Changed to use kotlin.js.JSON.parse<dynamic>(jsonStr) which correctly parses the JSON string
    • This affected all data-action based toggle interactions (Dropdown, HamburgerMenu, etc.)
  • DropdownItem Link Navigation - Fixed DropdownItem components with href not navigating

    • Root cause: DropdownItem was using renderBlock() which renders a <div> element - adding an href attribute to a <div> doesn't create a working link
    • Solution: Now uses renderEnhancedLink() for items with href, which properly renders an <a> tag
    • Click-only items (with onClick but no href) still use renderBlock() as before