Skip to content

Commit

Permalink
Merge pull request #614 from dtereshenko/DSCO-5175
Browse files Browse the repository at this point in the history
feat(Drawer): Update drawer styles to fix iPhone bug with Hamburger m…
  • Loading branch information
dtereshenko authored Nov 12, 2019
2 parents c2f6237 + d4bb330 commit cd1a1f4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/Drawer/Drawer.styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@ export const DrawerContainer = styled.div`
bottom: 0;
right: 0;
visibility: hidden;
transform: translateY(-100%);
opacity: 0;
transition: opacity 300ms ${constants.easing.easeInOutQuad};
overflow: hidden;
z-index: -1;
&.drawer__content--open {
transform: translateY(0);
/* Needed to fix iOS Safari issue with Hamburger position after location change */
transform: translateZ(0);
visibility: visible;
opacity: 1;
}
Expand Down

0 comments on commit cd1a1f4

Please sign in to comment.