Skip to content

The tip image is duplicated only on Android devices #7

@MichaelAmadheo

Description

@MichaelAmadheo

This is only happening on android devices when i click on the button that is wrapped in . It showing the duplicated button right below the wrapped button

This is the code:

<Tip
 id={tooltipId}
 body={FAVORITE.PRICE_MAY_CHANGE}
 bodyStyle={styles.tooltipCaption}
 active={false}
 onDismiss={() => this.dismissPriceTooltip(tooltipId)}
 tipContainerStyle={styles.tooltipStyle}
 overlayOpacity={-1}
>
 <TouchableOpacity onPress={() => this.showHidePriceTooltip(tooltipId)}>
  <Image
   source={toolTipIcon}
   style={styles.tooltipIcon}
  />
 </TouchableOpacity>
</Tip>

And this is the duplicated button on android:

Screenshot 2022-12-23 at 11 08 22

I think It's happening because of the {this.renderItem()} on tipProvider.js

Could you check on this? Thanks!

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