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

On dismiss of TapTargetView, recycler view scrolls #395

Open
kpradeepkumarreddy opened this issue Sep 28, 2021 · 4 comments
Open

On dismiss of TapTargetView, recycler view scrolls #395

kpradeepkumarreddy opened this issue Sep 28, 2021 · 4 comments

Comments

@kpradeepkumarreddy
Copy link

kpradeepkumarreddy commented Sep 28, 2021

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
Copy link

MGxpwr commented Dec 7, 2021

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
Copy link

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

@MGxpwr
Copy link

MGxpwr commented Apr 26, 2023

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants