Skip to content

CaretPosition left or right positioning incorrect #24

@elliotching

Description

@elliotching

v0.4.3

When I put caretPosition={"right"} , the caret does not point to correct position

Screenshot 2021-10-11 at 10 50 41 AM

<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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions