From ec2a170d7ce2aabec5268d26e89be3961f883364 Mon Sep 17 00:00:00 2001 From: Kilian Finger Date: Tue, 15 Oct 2024 22:02:09 +0200 Subject: [PATCH] fix: pass contentInset properly to native view --- javascript/components/MapView.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/javascript/components/MapView.tsx b/javascript/components/MapView.tsx index a2735ec1e..43fbbd46e 100644 --- a/javascript/components/MapView.tsx +++ b/javascript/components/MapView.tsx @@ -812,7 +812,7 @@ const MapView = memo( surfaceView, regionWillChangeDebounceTime, regionDidChangeDebounceTime, - contentInsetValue, + contentInset: contentInsetValue, style: styles.matchParent, }; }, [ @@ -825,7 +825,6 @@ const MapView = memo( surfaceView, regionWillChangeDebounceTime, regionDidChangeDebounceTime, - contentInsetValue, props, contentInsetValue, ]);