Skip to content

Commit

Permalink
Fix chrome opacity bug (#1942)
Browse files Browse the repository at this point in the history
* Add webkit transform to force hardware accelerated transition

* Change webkit-transform to general transform

Co-authored-by: Marika Shanahan <[email protected]>
  • Loading branch information
monshan and Marika Shanahan authored Jun 6, 2022
1 parent 87b4fee commit 72ba8b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/components/shepherd-modal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@
height: 100vh;
opacity: 0.5;
transition: all 0.3s ease-out, height 0s 0s, opacity 0.3s 0s;
transform: translateZ(0);
}
.shepherd-modal-overlay-container.shepherd-modal-is-visible path {
Expand Down

0 comments on commit 72ba8b0

Please sign in to comment.