From 0ce77880615ac5eda127b934ee99da454a80cd64 Mon Sep 17 00:00:00 2001 From: Aswin S Date: Wed, 1 Nov 2023 10:12:11 +0530 Subject: [PATCH] fix: update css file name and add comment --- src/components/MapView/MapView.web.tsx | 2 +- src/components/MapView/{css-fix.css => mapbox.css} | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) rename src/components/MapView/{css-fix.css => mapbox.css} (59%) diff --git a/src/components/MapView/MapView.web.tsx b/src/components/MapView/MapView.web.tsx index 367da247932c..d706168f076f 100644 --- a/src/components/MapView/MapView.web.tsx +++ b/src/components/MapView/MapView.web.tsx @@ -10,8 +10,8 @@ import {View} from 'react-native'; import * as StyleUtils from '@styles/StyleUtils'; import themeColors from '@styles/themes/default'; import CONST from '@src/CONST'; -import './css-fix.css'; 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/css-fix.css b/src/components/MapView/mapbox.css similarity index 59% rename from src/components/MapView/css-fix.css rename to src/components/MapView/mapbox.css index 7b827e16c3ed..5fa692d7ff46 100644 --- a/src/components/MapView/css-fix.css +++ b/src/components/MapView/mapbox.css @@ -1,3 +1,6 @@ +/* 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);