Giter Club home page Giter Club logo

nativescript-tooltip's People

Contributors

nericode avatar

Watchers

 avatar

nativescript-tooltip's Issues

Tooltip not visible when displayed in a modal

If I open a modal then try to display the tooltip in the modal, it doesn't appear.

Which platform(s) does your issue occur on?

Android and iPhone emulator and device

Please, provide the following version numbers that your issue occurs with:

  • CLI: 7.2.1
  • Cross-platform modules: 7.3.0
  • Runtime(s): Android: 7.0.1, iOS 7.2.0

Please, tell us how to recreate the issue in as much detail as possible.

Create an element that shows the tooltip. Try the tooltip without a modal - it works. Load the element in a modal, then try the tooltip - it doesn't work.

See attached project

ReferenceError: color_1 is not defined

Which platform(s) does your issue occur on?

  • iOS

Please, provide the following version numbers that your issue occurs with:

  • CLI: 7.0.8
  • Cross-platform modules: 7.0.13
  • Runtime(s): 7.0.4 for iOS

Please, tell us how to recreate the issue in as much detail as possible.

There's an error on iOS that prevents the show() method from displaying the tooltip on iOS:

ReferenceError: color_1 is not defined
at TooltipNs.push.../node_modules/nativescript-tooltip-ns/tooltip-ns.js.TooltipNs.show (file: node_modules/nativescript-tooltip-ns/tooltip-ns.ios.js:11:0)
at SignupComponent.showTooltipWithText (file: src/app/auth/components/signup/signup.component.ts:260:17)
at file: src/app/auth/components/signup/signup.component.ts:251:11
at ZoneDelegate.push.../node_modules/@nativescript/zone-js/zone-nativescript.js.ZoneDelegate.invoke (file: node_modules/@nativescript/zone-js/zone-nativescript.js:388:0)
at Object.onInvoke (file: node_modules/@angular/core/fesm2015/core.js:27486:0)
at ZoneDelegate.push.../node_modules/@nativescript/zone-js/zone-nativescript.js.ZoneDelegate.invoke (file: node_modules/@nativescript/zone-js/zone-nativescript.js:387:0)
at Zone.push.../node_modules/@nativescript/zone-js/zone-nativescript.js.Zone.run (file: node_modules/@nativescript/zone-js/zone-nativescript.js:138:0)
at file: node_modules/@nativescript/zone-js/zone-nativescript.js:883:0
at ZoneDelegate.push.../node_modules/@nativescript/zone-js/zone-nativescript.js.ZoneDelegate.invokeTask (file: node_modules/@nativescript/zone-js/zone-nativescript.js:421:0)
at Object.on<…>

Is there any code involved?

Simply call the show() method providing a textColor for iOS:

this.tooltip.show({
  ...
  ios: {
    ...
    textColor: 'black'
  }
});

# Tooltip cutting on Android

Which platform(s) does your issue occur on?

Android
Android version 9 and SDK version 28.
Tested on emulator as well as device

Please, provide the following version numbers that your issue occurs with:

Native script version - 7.0.8
@nativescript/android": "7.0.0",
"@nativescript/ios": "7.0.0",
nativescript-tooltip-ns": "^1.0.3

Please, tell us how to recreate the issue in as much detail as possible.

I am using nativescript-tooltip-ns plug-in in my application. It is working fine for iOS but tooltip is cutting in android devices. I am attaching a screenshot of the problem here. I had tried all directions but problem persists in all of them.

Screen Shot 2020-10-18 at 7 54 26 PM

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.