-
Notifications
You must be signed in to change notification settings - Fork 740
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 |
|
@M-i-k-e-l iv'e checked accessibility both on IOS and Android, working fine for me. |
|
Moved to draft. |
Description
Picker when passing
onDismissfromcustomPickerPropstheonDismissgetting called twice.Fix new
imperativeCloseExpandablefunction to pass toModalasonDismissinstead of going intocloseExpandablefrom thePickerand from theModalSnippet: (This issue occurs both on Modal and Dialog)
Implemented a state machine pattern to track the component's dismiss state.
Also fixed
TODOtask in Picker test.Changelog
ExpandableOverlay internal usage of Modal onDismiss fix.
Additional Info
MADS-4656