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
I have a problem, once I zoom on the image , the image is correctly zoomed on top of the above components, but is rendered UNDER the below components... this is inside a chat
here is the code snippet
<View>
{message.Desc === '' ? (
<View style={{ zIndex: 10 }}>
<ImageZoom
uri={`${REACT_APP_API_URL}${
message?.Path ? message?.Path : message?.path
}`}
minScale={0.5}
maxScale={5}
doubleTapScale={3}
isDoubleTapEnabled
style={styles.imageStyle}
resizeMode="cover"
/>
</View>
) : (
<View style={{ zIndex: -10 }}>
<Text style={styles.message} selectable>
{message.Desc}
</Text>
</View>
)}
</View>
<View style={styles.triangle_shape_right} />
<Text style={styles.time} selectable={true}>
{message.NameEmp} - {message_time_convert(message.Date)}
</Text>
</View>```
as you can see I tried to add zIndex with no luck... am I missing something ?
thanks!
The text was updated successfully, but these errors were encountered:
I have a problem, once I zoom on the image , the image is correctly zoomed on top of the above components, but is rendered UNDER the below components... this is inside a chat
here is the code snippet
The text was updated successfully, but these errors were encountered: