Olivier Patry03/22/2021, 10:28 PM
coordinate of the menu is correct but the vertical position is wrong always stick to the bottom of the window. It seems close to https://github.com/JetBrains/compose-jb/issues/195 which is closed though. And the mechanic wasn't the same as of now it seems. You can see in the :thread-please: the details (code & screenshots)
in the white area, in the 3rd screenshot, by the
from the toolbar
work. Using the sample code found here https://android.googlesource.com/platform/frameworks/support/+/refs/heads/androidx-main/c[…]in/java/androidx/compose/material/samples/MenuSamples.kt I understood I had to wrap both "anchor" and Dropdown within the same
parent with proper
where XXX is the anchor rules for this configuration. It now works as intended.
Chris Sinco [G]03/23/2021, 2:20 AM