Skip to content

Commit

Permalink
Video: Fix flickering video controls on iOS browsers (#3202)
Browse files Browse the repository at this point in the history
  • Loading branch information
diyorbek authored Sep 21, 2023
1 parent b4c50fa commit 2247921
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/gestalt/src/Icon.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,11 @@
}

html[dir="rtl"] .rtlSupport {
transform: rotateY(180deg);
/*
Using `scale` instead of `rotateY`.
This is a workaround for the bug in iOS browsers with rendering rotated SVGs over video.
Bug repro: https://gist.github.com/diyorbek/945189e3036552d2de34ae955a1605ee
*/
transform: scale(-1, 1);
transform-origin: center;
}

0 comments on commit 2247921

Please sign in to comment.