You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great if you provide currentState and/or currentSnapPoint in the bottomsheet ref
Why it is needed
It will reduce boilerplate code and sometime we get sheet hidden/ expanded because of keyboard event which doesn't let us know what the current state of the sheet is
Possible implementation
just add another value to ref and update whenever get changed
Code sample
if(ref.isExpanded||ref.currentIndex===2){//sheet is expanded. hide it.ref.hide();}
The text was updated successfully, but these errors were encountered:
Feature Request
It would be great if you provide
currentState
and/orcurrentSnapPoint
in the bottomsheet refWhy it is needed
It will reduce boilerplate code and sometime we get sheet hidden/ expanded because of keyboard event which doesn't let us know what the current state of the sheet is
Possible implementation
just add another value to ref and update whenever get changed
Code sample
The text was updated successfully, but these errors were encountered: