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
Is your feature request related to a problem? Please describe.
I would like to use this component more as a 2 option dialog (rather than a yes/no). Currently, if you click on the overlay then it behaves as "false" and runs the callback w/ false.
Describe the solution you'd like
I'd like clicking on the overlay to simply close the entire component without actually making a "no" selection.
Describe alternatives you've considered
The simplest solution would be to remove the callback on line 103, inside the method handleClickOverlay(). Or a more dynamic solution would be to allow you to define a separate onCancelCallback() to be used at init.
Additional context
Thanks for considering this. Making this change would allow for backwards compatibility while providing a huge improvement in a small area.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I would like to use this component more as a 2 option dialog (rather than a yes/no). Currently, if you click on the overlay then it behaves as "false" and runs the callback w/ false.
Describe the solution you'd like
I'd like clicking on the overlay to simply close the entire component without actually making a "no" selection.
Describe alternatives you've considered
The simplest solution would be to remove the callback on line 103, inside the method handleClickOverlay(). Or a more dynamic solution would be to allow you to define a separate onCancelCallback() to be used at init.
Additional context
Thanks for considering this. Making this change would allow for backwards compatibility while providing a huge improvement in a small area.
The text was updated successfully, but these errors were encountered: