WrathChaos / react-native-tooltip-2

✨ Customizable, easy to use tooltip for React Native 🚀
https://freakycoder.com
MIT License
7 stars 3 forks source link

Strange behavior in Android #1

Open rodrigodiasf1984 opened 10 months ago

rodrigodiasf1984 commented 10 months ago

package version: "react-native-tooltip-2": "^0.1.3", react-native version: "react-native": "0.70.6",

Hi, first i'd like to thank you for this package!

I'm facing a strage behavior in Android, please take a look at the attached image. image

image

For some reason the icon or the message shows as duplicated in Android, how can I fix this?

Thanks

rodrigodiasf1984 commented 9 months ago

@WrathChaos any idea how to solve it?

yagiz2000 commented 5 months ago

@rodrigodiasf1984 you need to adjust manually top positioning for android only. It fits perfeclty for my project

import { Dimensions, StatusBar } from "react-native";

  <Tooltip
        topAdjustment={Platform.OS === "android" ? -StatusBar.currentHeight : 0}
rodrigodiasf1984 commented 5 months ago

@rodrigodiasf1984 you need to adjust manually top positioning for android only. It fits perfeclty for my project

import { Dimensions, StatusBar } from "react-native";

  <Tooltip
        topAdjustment={Platform.OS === "android" ? -StatusBar.currentHeight : 0}

Thanks for your reply, i've moved to another package, i couldn't wait, the issue is open on december of 2023, i understand, feel free to close the issue @WrathChaos

AboodyAlaze commented 1 month ago

@WrathChaos Can You Please What The Name Of Package that you Move for it because there is no package