You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.
I am currently using the component in a Modal and I have a problem when I try to move or zoom / dezoom the component.
It only occurs when I place my finger on a place where the component in the modal is in front of 2 components of the background page. I'm sorry for this terrible explanation but it is pretty hard to tell clearly what is the problem, so I've made this video to show it.
As you can see in the video, when I put my finger where the map is in the background or where the title area is (the blue are), I cannot interact with the component anymore. Here are the concerned areas drawn in orange :
I've already tried to disable pointer events on the entire background page when the modal is open but still nothing happens when I interact with zoomable view in front of background components. I've also tried to log OnShiftingBefore and OnShiftingAfter events and both aren't called in the areas where the component isn't interactible with.
Here's the code :
<Viewstyle={styles.header}>
/* Header content */
</View><Viewstyle={styles.main}><Viewstyle={styles.carteContainer}><Modal/* useless options for this exemple */transparent={true}><Viewstyle={styles.containerModalContent}>
/* Closing Modal Button */
<Viewstyle={{height: props.CanvasSize.y/props.CanvasSize.x*350}}><ReactNativeZoomableViewzoomEnabled={true}maxZoom={1.5}minZoom={0.95}zoomStep={0.25}initialZoom={1}bindToBorders={true}style={{height: props.CanvasSize.y/props.CanvasSize.x*350,width: props.CanvasSize.x/props.CanvasSize.y*350,}}onZoomEnd={ResizeMapElements}captureEvent={true}><Map/><ReactNativeZoomableView/></View></View></Modal><TouchableOpacitystyle={styles.staticMap}onPress={()=>{setOpenContainerModal(true);}}><Map/></TouchableOpacity>
/* bottom button */
</View></View>
Any idea of what could block the interaction with the component in a modal?
The text was updated successfully, but these errors were encountered:
Hello,
I am currently using the component in a Modal and I have a problem when I try to move or zoom / dezoom the component.
It only occurs when I place my finger on a place where the component in the modal is in front of 2 components of the background page. I'm sorry for this terrible explanation but it is pretty hard to tell clearly what is the problem, so I've made this video to show it.
As you can see in the video, when I put my finger where the map is in the background or where the title area is (the blue are), I cannot interact with the component anymore. Here are the concerned areas drawn in orange :
I've already tried to disable pointer events on the entire background page when the modal is open but still nothing happens when I interact with zoomable view in front of background components. I've also tried to log
OnShiftingBefore
andOnShiftingAfter
events and both aren't called in the areas where the component isn't interactible with.Here's the code :
Any idea of what could block the interaction with the component in a modal?
The text was updated successfully, but these errors were encountered: