Trying to listen to DrawerState so I could clear f...
# compose
a
Trying to listen to DrawerState so I could clear focus on its content on close. There is a
confirmStateChange
callback but seems it is only invoked when dismissed with a swipe gesture. A gentle drag, invoking
drawerState.close
, or clicking outside the drawer doesn’t trigger this callback. Makes me think that callback is broken if it’s only valid for a swipe gesture 🤔
l
cc @matvei
m
File a bug please 🙂
a
I just filed a bug with a repro. sorry for the delay https://issuetracker.google.com/issues/178631059
m
No rush 🙂 Thanks for filing this!