-
Notifications
You must be signed in to change notification settings - Fork 11
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
feat(atoms): add blur content for modals #29
Conversation
src/atoms/Modal/Modal.js
Outdated
@@ -16,6 +16,8 @@ type ModalState = { | |||
blurred: boolean, | |||
}; | |||
|
|||
const MODAL_BODY_CLASS = 'modal-shown'; |
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.
Where are the styles of this class?
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.
@ej9x are you think we should hardcode styles with .modal-shown > #page
selector?
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.
@zouxuoz I mean about adding blur css styles to the boost.
src/atoms/Modal/Modal.js
Outdated
} | ||
} | ||
|
||
updateBodyClass() { |
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.
I think upadteBodyClass
is meaningless function name. Can you add more specificity for this method?
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.
@vorobeez fixed
d59aaeb
to
810638e
Compare
No description provided.