KeepSafe / TapTargetView

An implementation of tap targets from the Material Design guidelines for feature discovery.
Apache License 2.0
5.37k stars 589 forks source link

On dismiss of TapTargetView, recycler view scrolls #395

Open kpradeepkumarreddy opened 3 years ago

kpradeepkumarreddy commented 3 years ago

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 ?

MGxpwr commented 2 years ago

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.

ssecci-photosi commented 1 year ago

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

MGxpwr commented 1 year ago

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.

ssecci-photosi commented 1 year ago

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