-
Notifications
You must be signed in to change notification settings - Fork 186
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
fix: fee explainer modal close button #7611
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.
Close but this is not the reason why it had a deadclick and it's not 100% fixed because half of the closing button is clickable
The main reason why it's a dead click is that the tab container is over the closing button
Using a ModalBody
almost fixes it because the body adds some paddings preventing the tablist to be over the close button
I would keep the body but remove the padding so its semantic is following chakra's idea and add a small zIndex on the closing button
That works, @NeOMakinG! Addressed in 42e5057 The z-index does the trick of ensuring it stays clickable. |
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.
Description
Fixes the dead click on the fee explainer close modal, likely caused by the Chakra package bump due to our incorrect usage (or lack thereof) of `.
Issue (if applicable)
Closes #7610
Risk
Low
None
Testing
Ensure that the fee explainer can be closed using the close button (not just clicking the background).
Engineering
☝️
Operations
☝️
Screenshots (if applicable)
See above.