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

setArrowSize doesn't work as expected #413

Closed
UmairKhalid786 opened this issue Jan 18, 2023 · 3 comments
Closed

setArrowSize doesn't work as expected #413

UmairKhalid786 opened this issue Jan 18, 2023 · 3 comments
Assignees
Labels
bug Something isn't working Released Released already on the latest version.

Comments

@UmairKhalid786
Copy link

Please complete the following information:

  • Library Version v1.5.2
  • Affected Devices (Android TV 1080p API 31, Pixel 3XL API 28)

Describe the Bug:

When you set the arrow size using the setArrowSize method and try to align the arrow with the anchor
setArrowPositionRules(ArrowPositionRules.ALIGN_ANCHOR)

it doesn't align with the anchor

Expected Behavior:
The tooltip arrow should center align even when we try to set the arrow size

@skydoves
Copy link
Owner

Hey @UmairKhalid786, could you expand on this? You titled setArrowSize doesn't work but the description says setArrowPositionRules` doesn't work as your expectation.

@UmairKhalid786
Copy link
Author

UmairKhalid786 commented Jan 21, 2023

Let me explain how setArrowSize effects setArrowPositionRules(ArrowPositionRules.ALIGN_ANCHOR)

When tooltip size is set, arrow alignment is disturbed

Code snippet

Generates

Screenshot_1674309271

@skydoves skydoves self-assigned this Jan 29, 2023
@skydoves skydoves added the bug Something isn't working label Jan 29, 2023
nkhar added a commit to nkhar/Balloon that referenced this issue Dec 20, 2023
…give correct results. Here we tried to solve on edge case as noted in issue: skydoves#413
@skydoves skydoves added the Release Next This feature will be released on next version label Dec 21, 2023
@skydoves
Copy link
Owner

Hey @UmairKhalid786, this issue has been fixed in the recent release, 1.6.4. Please update your library version, and please reopen this issue if you still face the same problem. Thank you for reporting this issue!

@skydoves skydoves added Released Released already on the latest version. and removed Release Next This feature will be released on next version labels Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Released Released already on the latest version.
Projects
None yet
Development

No branches or pull requests

2 participants