Status Update
Comments
vi...@google.com <vi...@google.com> #2
Moving to androidx > Core component to take a look at this issue.
ki...@google.com <ki...@google.com>
vi...@google.com <vi...@google.com> #3
Similar issue b/157673259 . Hence duplicating it.
po...@google.com <po...@google.com>
po...@google.com <po...@google.com> #4
This has been fixed and the fix will be available in the next release.
Description
androidx.ui:ui-material
0.1.0-dev13
Issue:
DropdownMenuItem
'sonClick
does not get invokedNot working code: Expected result - on click,
expanded
set tofalse
andselectedConfigIndex
set toindex
Actual result - on click, nothing happens. Debugger is never called when a breakpoint is setHowever, if the code is modified to place a
Modifier.clickable
on theDropdownMenuItem
's child (e.g. onText
), the onClick on thee child is properly invoked (but, it messes up the ripple effect and also highlights the child selected item). This workaround should not be necessary