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

ClickEvent beyond recycler #817

Closed
1 task
FunnyDevs opened this issue Aug 30, 2021 · 4 comments
Closed
1 task

ClickEvent beyond recycler #817

FunnyDevs opened this issue Aug 30, 2021 · 4 comments

Comments

@FunnyDevs
Copy link

Version

master

Hi! I have a Recycler component like a viewpager: the first screen is transparent and under it there are some components with click events; obviously the touch events are intercepted by recycler , but how can i bypass the recycler and send touch event to the underlying components ?

@colriot
Copy link
Contributor

colriot commented Sep 6, 2021

@FunnyDevs can you share a screenshot of you UI with more details, please? I'm not sure I'm following the use case.

As a wild guess I can suggest you to set custom LithoRecylerView.TouchInterceptor touchInterceptor for your RecyclerCollectionComponent

@FunnyDevs
Copy link
Author

I had in mind an ui like facebook/snapchat/instagram camera bottom panel:
image

Something like the image, a button in background and a recycler in foreground: when i touch the button with a click or a longclick, the touch event must be discarded from the recycler and must be sent to the button.

@colriot
Copy link
Contributor

colriot commented Sep 9, 2021

On IG and FB this seems to be a foreground button on top of the rest of UI. Why do you need it to be behind if it would be covered by list content on scroll?
Anyway, the prop I've mentioned above should work for you

@colriot
Copy link
Contributor

colriot commented Oct 26, 2021

Closing this one for no activity. Please, reopen if needed

@colriot colriot closed this as completed Oct 26, 2021
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

2 participants