xcarpentier / rn-tourguide

🚩Make an interactive step by step tour guide for your react-native app (a rewrite of react-native-copilot)
https://xcarpentier.github.io/rn-tourguide/
Other
725 stars 213 forks source link

Distance between tour and component #8

Open hassanrahimi opened 4 years ago

hassanrahimi commented 4 years ago

hi , thanks for this good package i try to use this package , i test in amulator but place of tour different with place of component

=> i just copy and paste codes of example https://cdn1.bbcode0.com/uploads/2020/8/6/d8ebbeb8ecb4b25a4be39cce7174c93c-full.png https://cdn1.bbcode0.com/uploads/2020/8/6/de13b76861c965b2a0928b240ad67fd1-full.png

i try in expo in device but exist this problem.!!!!

can you help me? thanks

xcarpentier commented 4 years ago

It seems to be something related to the status bar height on Android, what do you think? @hassanrahimi

yousefshakoury commented 3 years ago

@hassanrahimi I same too. Did you find a any solution to the problem? image

vi1199 commented 3 years ago
if (!this.props.androidStatusBarVisible && Platform.OS === 'android') {
             obj.top -= StatusBar.currentHeight || 30;
         }

@xcarpentier yes indeed . i commented out above if condition in Modal.js . and it works

xcarpentier commented 3 years ago

Then the solution is this:

<TourGuideProvider androidStatusBarVisible={true} />
Md-Mudassir commented 3 years ago

why the overlay is not covering the bottom part under navigation tab?

snap

santinucera commented 2 years ago

Any help on this @xcarpentier?

Md-Mudassir commented 2 years ago

Any help on this @xcarpentier?

check this https://github.com/xcarpentier/rn-tourguide/issues/50#issuecomment-862177976