🚦 not answer
hey karthick, I wanted to understand what is the use of
confirmStateChange
?
k
Karthick
12/26/2022, 8:03 AM
when user trying to swipe it down
confirmStateChange
lambda will call and we have to return boolean. If true swiping down gesture will make bottom sheet to collapse. else it wont swipe down. Its like we are not allowing.
I want to disable swipe when loading.. @jasu
j
jasu
12/26/2022, 9:04 AM
understood, thanks
f
Filip Wiesner
12/26/2022, 10:00 AM
Why
confirmStateChange
not using the latest state?
It is using the state that was captured in lambda. Either user