Tooltips don't disappear when leaving fragment
See original GitHub issuePlease complete the following information:
- Library Version 1.1.2
- Affected Device(s) Emulator
Describe the Bug:
Settings:
setArrowSize(10)
// setWidthRatio(1.0f)
setHeight(65)
setPadding(0)
setDismissWhenTouchOutside(true)
setPaddingLeft(10)
setPaddingRight(10)
// setArrowPosition(.5f)
setSpace(10)
setCornerRadius(10f)
setAlpha(1f)
setTextColorResource(R.color.white)
setBackgroundColorResource(R.color.colorAccent)
setOnBalloonClickListener {
onClick?.invoke()
}
setBalloonAnimation(BalloonAnimation.ELASTIC)
setLifecycleOwner(lifecycleOwner)
When I leave the fragment (e.g. to navigate to a new fragment). The tooltips stay on the screen.
Expected Behavior:
The tooltips disappear when navigating away (backwards or forwards) from fragment.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
man i fucking love the unskippable tooltips that take up a third ...
Oh and don't forget, changing a fragment resets all your ability energy ... Had to wait 5 seconds for the prompt to disappear,...
Read more >Bootstrap's tooltip doesn't disappear after button click ...
I have a problem with bootstrap's tooltip : When I click on a button, tooltip stays even if is the cursor is outside...
Read more >Tooltip Guidelines - Nielsen Norman Group
Remember that tooltips disappear, so instructions or other directly actionable information, like field requirements, shouldn't be in a tooltip. ...
Read more >Tooltip does not disappear on back press in Fragments #21
Tooltip is based on PopupWindow, so it dont capture key pressed automatically. You have to maintain a reference for Tooltip and override ......
Read more >How to identify which program has left a portion of its UI ...
Find the tab it came from and just move your mouse around. The tooltip should disappear. (Unfortuantely, there's no easy way to determine...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Okay, I’d store the tooltips in a variable and close them manually when leaving the fragment.
The problem is that I want to disable the animation only when dismissing as part of leaving the screen. I want to keep them for normal usage.