-
Notifications
You must be signed in to change notification settings - Fork 734
Picker - ExpandableOverlay imperativeCloseExpandable #3536
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This feels overly complicated.
Any chance this can be solved in a simpler way?
@M-i-k-e-l do you remember where did we used the |
@adids1221 |
I meant where in |
@adids1221 |
Didn't we need to talk about this? Or debug together? |
@M-i-k-e-l we spoke about it, you passed the |
@adids1221 the solution we've talked about is working correctly on iOS but not on Android (no
|
@M-i-k-e-l Sumup: Let's sync about it |
Description
Picker when passing
onDismiss
fromcustomPickerProps
theonDismiss
getting called twice.Fix new
imperativeCloseExpandable
function to pass toModal
asonDismiss
instead of going intocloseExpandable
from thePicker
and from theModal
Snippet: (This issue occurs both on Modal and Dialog)
Implemented a state machine pattern to track the component's dismiss state.
Also fixed
TODO
task in Picker test.Changelog
ExpandableOverlay internal usage of Modal onDismiss fix.
Additional Info
MADS-4656