TapTargetView icon indicating copy to clipboard operation
TapTargetView copied to clipboard

On dismiss of TapTargetView, recycler view scrolls

Open kpradeepkumarreddy opened this issue 3 years ago • 4 comments

Version used: 1.13.3 Android version: Android-9

On dismiss of TapTargetView, recycler view scrolls automatically. Why is this happening ? How to resolve this issue ? Why TapTargetView dismiss is affecting other UI elements ?

kpradeepkumarreddy avatar Sep 28 '21 06:09 kpradeepkumarreddy

I've come across the same issue, if implemented the following temporary fix:

TapTargetView.Listener() {
    override fun onTargetDismissed(view: TapTargetView?, userInitiated: Boolean) {
        view?.visibility = View.GONE
        super.onTargetDismissed(view, userInitiated)
    }
}

Hope this works for you too.

MGxpwr avatar Dec 07 '21 14:12 MGxpwr

It works! :) Can you explain why it works pls :)

ssecci-photosi avatar Apr 26 '23 11:04 ssecci-photosi

It works! :) Can you explain why it works pls :)

Its been a while since I figured this out, so unfortunately I can't explain why it works.

MGxpwr avatar Apr 26 '23 12:04 MGxpwr

bad news, it doesn't work on android 8 😢

ssecci-photosi avatar May 03 '23 10:05 ssecci-photosi