diff --git a/src/components/MapView/MapView.web.tsx b/src/components/MapView/MapView.web.tsx index fe240c1f5121..d706168f076f 100644 --- a/src/components/MapView/MapView.web.tsx +++ b/src/components/MapView/MapView.web.tsx @@ -11,6 +11,7 @@ import * as StyleUtils from '@styles/StyleUtils'; import themeColors from '@styles/themes/default'; import CONST from '@src/CONST'; import Direction from './Direction'; +import './mapbox.css'; import {MapViewHandle, MapViewProps} from './MapViewTypes'; import responder from './responder'; import utils from './utils'; diff --git a/src/components/MapView/mapbox.css b/src/components/MapView/mapbox.css new file mode 100644 index 000000000000..5fa692d7ff46 --- /dev/null +++ b/src/components/MapView/mapbox.css @@ -0,0 +1,12 @@ +/* Fixes an issue with Webkit where map canvas loses zIndex order and draws above attribution controls + https://github.com/Expensify/App/issues/27800 +*/ +.mapboxgl-ctrl-bottom-left { + -webkit-transform: translate3d(0, 0, 1px); + transform: translate3d(0, 0, 1px); +} + +.mapboxgl-ctrl-bottom-right { + -webkit-transform: translate3d(0, 0, 1px); + transform: translate3d(0, 0, 1px); +} \ No newline at end of file