Fixed bug that wasn't enabling to click behind notification div (#9562)

* Fixed bug that wasn't enabling to click behind notification div

* Update new notification to include pointer-events

* Update new notification wrapper to include pointer-events
This commit is contained in:
Yuri Burk 2021-03-11 10:08:46 -03:00 committed by GitHub
parent 1a07977ae2
commit 87900d741b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,7 @@ const Wrapper = styled(TransitionGroup)`
width: 300px;
margin: 0 auto;
overflow-y: hidden;
pointer-events: none;
`;
export default Wrapper;

View File

@ -16,6 +16,7 @@ const NotificationWrapper = styled.div`
width: 400px;
min-height: 60px;
margin-left: ${({ centered }) => (centered ? '0px' : '240px')};
pointer-events: auto;
&:hover {
box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2);

View File

@ -13,6 +13,7 @@ const Wrapper = styled(TransitionGroup)`
list-style: none;
width: 100%;
overflow-y: hidden;
pointer-events: none;
`;
export default Wrapper;