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

Is there a good way to do the gesture function? #2

Open
manananSong opened this issue Apr 22, 2021 · 2 comments
Open

Is there a good way to do the gesture function? #2

manananSong opened this issue Apr 22, 2021 · 2 comments

Comments

@manananSong
Copy link

I used your zoomscrollview. It works well and I'm satisfied this function.
I put new controllers like grid, frame, button etc.. And I want to add new gesture function on top of this controllers.
If i add gesture function on controllers, zoomscrollview doesn't work well. Controllers has gesture priority.
Is there a good way to solve the problem?

@LuckyDucko
Copy link
Owner

hey @manananSong

I have a similar issue myself, and the best solution I could come up with was a 'Lock' mechanism which switched InputTransparent on/off on just the ZoomView.

I do wonder if there is a way to, on creation, register gestures to the zoomview so that it will check if that gesture applies first, and if it doesn't, then it will do its normal behaviour.

@LuckyDucko
Copy link
Owner

@manananSong

I just updated the package to add in userinteractionenabled.

If you give me an example project with an example gesture not working, I could true and add in an extra flag for working around this issue

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