Just shipped my first Compose Multiplatform librar...
# compose
a
Just shipped my first Compose Multiplatform library: 🧾 Compose Menu! Compose has no official Dropdown Menu component. If you want to add one in your apps you either add Material Compose which looks off outside of Android or you build one yourself, which is complex to get right. Compose Menu is an unstyled Compose Multiplatform component to build your own dropdown menus, on any platform, with any design system. It features: 🏋️‍♂️ shows/hides the menu automatically 👩‍🎨 no styling – customize the looks to your needs ⌨️ keyboard navigation support customizable show/hide animation 👨‍👩‍👧‍👧 available for Android, Desktop, Web & iOS Check the source code on Github: https://github.com/composablehorizons/compose-menu Check the live demo and API at: https://composablehorizons.github.io/compose-menu
🙌 6
K 4
K 26
🙌🏾 1
👍 2
🎉 1
👋 1
🚀 11
p
looks really cool! one thing: when using the keyboard arrows, the whole web page scrolls instead of selecting next/previous menu item, looks like a bug?
a
thanks! it is a bug since I haven't figured out how to capture the key event when the popup opens. I want to support this and I'm investigating. for now you can press Tab to move to the menu
👍 1
u
🤩 so cool !
🙏 1
p
@Alex Styl got it, thanks! probably worth adjusting the docs so that they say it's not yet fully supported
👍 1
a
@Piotr Krzemiński had an epiphany earlier while out on a walk. figured out how to get the key events. working rn on supporting this
🙌 1
🙌🏾 1
@Piotr Krzemiński the fix is live at
1.1.0
. You can check it out via the demo: https://composablehorizons.github.io/compose-menu
thank you color 1
🚀 1
🎉 1
u
Wow, great! it would be more great if you add scrollable dropdown menu
a
@Ume Channel what's stopping you from using a
LazyColumn
within the
MenuContent
?
K 1
🐕 1
e
amazing @Alex Styl always follow you and what you’ve done!
🙇 1