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

# Tooltip cutting on Android #4

Closed
harishchopra86 opened this issue Oct 19, 2020 · 7 comments
Closed

# Tooltip cutting on Android #4

harishchopra86 opened this issue Oct 19, 2020 · 7 comments

Comments

@harishchopra86
Copy link

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

@nericode
Copy link
Owner

hello @harishchopra86, ok today check this!

@harishchopra86
Copy link
Author

Thanks for looking into it @nericode
Was you able to replicate it?
And resolution advise?

@nericode
Copy link
Owner

@harishchopra86 please share me a example code, for i test.

@harishchopra86
Copy link
Author

Hello @nericode ,

Attached is the sample project. You can click on red tooltip button to see that it is cutting in android.
tooltip-issue.zip

Thanks,
Harish

@radiohe4d
Copy link

Having the same issue on NS7.

@nericode
Copy link
Owner

Sorry @harishchopra86 @radiohe4d please check this sephiroth74/android-target-tooltip#135

@mreall
Copy link

mreall commented Dec 4, 2020

@nericode Thanks for the tip. If I change this.builder.fitToScreen(false) to this.builder.fitToScreen(true) in tooltip-ns.android.ts it appropriately moves the tooltip away from the edge of the screen so it doesn't cut off the tooltip. I'm using NS7.

nericode added a commit that referenced this issue Dec 5, 2020
@nericode nericode closed this as completed Dec 5, 2020
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

4 participants