-
-
Notifications
You must be signed in to change notification settings - Fork 437
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
PopTip is partially displayed outside visible area of screen #133
Comments
Mmmm, good point, I should probably add the same logic in the |
Ok, that should do the trick. Let me know. |
Thanks for the quick fix. It is working fine. A followup question, is it possible to set some padding to make sure the poptip origin is same as the button from which it appeared?(Right now it is touching the left edge) That way it will look like covering the button completely if I set maxWidth same as button.size.width. Text can wrap into multiple lines below the button too for long text. |
|
Hi @andreamazz and thanks for the awesome library! I tracked down the issue to the rectContained() function that was added recently. I posted a comment with further details at: b9ceeb5 Edit: I figured I should probably just create a pull request. Sorry for the noise. #136 |
Thanks for the great library. I am trying to use this library to have a poptip without an arrow in my custom view on tap of a button. But for long text, the poptip is partially displayed outside the visible area of screen. This is my sample code:
This is how it appears on the screen. How do I make sure that PopTip is always visible on the screen? I can see that if I specify the direction as anything other
.none
, it works fine.The text was updated successfully, but these errors were encountered: