react-native-popable
react-native-popable copied to clipboard
CaretPosition left or right positioning incorrect
v0.4.3
When I put caretPosition={"right"}
, the caret does not point to correct position
<Popable
// style={{ width: 300, flex: 1, display: "flex" }}
backgroundColor={palette.aia_light_gold}
caretPosition={"right"}
content={
<View
style={{
// flex: 1,
padding: 10,
alignItems: "center",
justifyContent: "center",
}}
>
<Text style={{ color: "black" }}>
Example tooltip text
</Text>
</View>
}
>
<Image
style={{
resizeMode: "contain",
height: typography.fontSize.small,
width: typography.fontSize.small,
}}
source={require("../../assets/icon_info.png")}
/>
</Popable>