Code Monkey home page Code Monkey logo

Comments (17)

danielang avatar danielang commented on May 18, 2024 6

You can add:

copilot({
    androidStatusBarVisible: false
}),

from react-native-copilot.

sujitpk-perennial avatar sujitpk-perennial commented on May 18, 2024 4

@mohebifar I found that

  1. In style.js
    tooltipText: { }
When I added like 

tooltipText: {
    color: 'rgba(20,20,20,1)'
  }

Then I am able to see the color for text in Android.

  1. In CopilotModel.js file, I found one condition that

if (this.props.androidStatusBarVisible && Platform.OS === 'android') {
obj.top -= StatusBar.currentHeight; // eslint-disable-line no-param-reassign
}


   When I commented obj.top -= StatusBar.currentHeight; then I am able to see the badge number properly. 


   





from react-native-copilot.

dirkvanherpen avatar dirkvanherpen commented on May 18, 2024 2

Thank you for the quick reply. It worked for me, meaning I get a step-by-step walkthrough, but the position of the highlights doesn't match the position of the buttons.

Code:
image

Application:
Step 1:
image
Step 2:
image

Any idea how I can fix this?

from react-native-copilot.

mohebifar avatar mohebifar commented on May 18, 2024 2

@sujitpk-perennial It is really hard to figure out what the issue is without being able to reproduce it. It would be great if you could provide a very minimal expo snack or a gist to help me reproduce this.

from react-native-copilot.

sujitpk-perennial avatar sujitpk-perennial commented on May 18, 2024 1

Hello team, I am able to show the copilot UI for iOS properly. But for Android, the UI is not showing proper place. It is happening throughout the app. Also text also not visible. I am using "@okgrow/react-native-copilot": "^2.2.6"

screen shot 2018-06-13 at 3 22 10 pm

from react-native-copilot.

mohebifar avatar mohebifar commented on May 18, 2024

Is it Button from 'native-base' or Button from 'react-native'? If you don't have access to the underlying component's code (being a third-party lib), one possible workaround is to wrap it within a View component.

Only "native" components can be made walkthroughable using the walkthroughable helper.

https://github.com/okgrow/react-native-copilot#custom-components-as-steps

from react-native-copilot.

mohebifar avatar mohebifar commented on May 18, 2024

Could you please confirm that you're using v2.2.2?
v2.2.1 was buggy on Android having the same positioning issue and got fixed just last week.

from react-native-copilot.

dirkvanherpen avatar dirkvanherpen commented on May 18, 2024

I can confirm that I am using v2.2.2.

image

from react-native-copilot.

mohebifar avatar mohebifar commented on May 18, 2024

Okay, thanks. I'm curious to see what happens with 2.2.1.

from react-native-copilot.

dirkvanherpen avatar dirkvanherpen commented on May 18, 2024

I have already tried version 2.2.1, but I still have the same problem.

from react-native-copilot.

mohebifar avatar mohebifar commented on May 18, 2024

It'd be good if you share a minimal code that helps me reproduce this issue.

from react-native-copilot.

mohebifar avatar mohebifar commented on May 18, 2024

@dirkvanherpen Can you please now try v2.2.3?

from react-native-copilot.

dirkvanherpen avatar dirkvanherpen commented on May 18, 2024

I tried version 2.2.3 and 2.2.4, but I still have the same issues with both versions.

v2.2.3
image
v2.2.4
image

from react-native-copilot.

dirkvanherpen avatar dirkvanherpen commented on May 18, 2024

I have tried multiple versions to try to fix this, but I can't get the highlight parts exactly on the button.
Any idea how to fix this?

from react-native-copilot.

Vishal-Lakkapathri avatar Vishal-Lakkapathri commented on May 18, 2024

Facing the same issue when used with https://wix.github.io/react-native-navigation.
Need Help!!

from react-native-copilot.

RichardLitt avatar RichardLitt commented on May 18, 2024

@mohebifar Can you take another look at this, please?

from react-native-copilot.

deepakverma4 avatar deepakverma4 commented on May 18, 2024

@dirkvanherpen @mohebifar facing same issue in android. have you found any solution for it?

from react-native-copilot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.