Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show multi tooltip #144

Open
ngodanghuuha opened this issue Mar 4, 2022 · 1 comment
Open

show multi tooltip #144

ngodanghuuha opened this issue Mar 4, 2022 · 1 comment

Comments

@ngodanghuuha
Copy link

Hello
I want to show multi tooltip, but only show one, and tooltip always show, how to to that
this is my code

<Tooltip
  isVisible={true}
  content={<Text>hello</Text>}
  placement="top"
  onClose={() => (true)}
>
<Image source={require('./assets/images/1.png')} resizeMode='cover' style={{width:25,height:25}}></Image>
</Tooltip>  
<Tooltip
  isVisible={true}
  content={<Text>Here</Text>}
  placement="top"
  onClose={() => (true)}
>
<Image source={require('./assets/images/2.png')} resizeMode='cover' style={{width:25,height:25}}></Image>
</Tooltip>  

thanks

@apfritts
Copy link

apfritts commented May 5, 2022

@ngodanghuuha Did you try setting useReactNativeModal to false? You cannot render 2 tooltips at the same time on iOS because you cannot have 2 modals at the same time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants