Skip to content

Commit

Permalink
fix(popupfield, daypicker): Change dialog transition styles back to t…
Browse files Browse the repository at this point in the history
…op, as transform breaks desktop styling (#122)
  • Loading branch information
rachmulvey committed Aug 20, 2019
1 parent 5542391 commit a59209e
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 44 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions src/shared/ButtonWithDialog/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ function addQComZIndex(zIndex) {

export const transitionStylesSlideUp = {
entering: {
transform: 'translateY(0)'
top: '100%'
},
entered: {
transform: 'translateY(-100%)'
top: 0
},
exiting: {
transform: 'translateY(0)'
top: '100%'
}
};

Expand All @@ -45,7 +45,7 @@ export const dialogStylesFullScreen = {
left: 0,
position: 'fixed',
top: '100%',
transition: `transform 300ms ease-in-out`,
transition: `top 300ms ease-in-out`,
width: '100%',
zIndex: 1000,
display: 'flex',
Expand Down

0 comments on commit a59209e

Please sign in to comment.