Skip to content

Conversation

@DavidBriglio
Copy link

@DavidBriglio DavidBriglio commented Jun 8, 2020

Currently this package will only handle touch events on the whole window. If you would like to have multiple pulldowns on the same page, or have only part of the page pullable this would not work.

My pull request creates a wrapper div for the children of the component to sit in, and it is that div that the touch events will work on if the targetComponent prop is set to true.

Please test this out and consider adding it to your package!

Thank you

@DavidBriglio
Copy link
Author

I'm not quite sure what the default behaviour should be, since using the window would cause issues when interacting with any popups / dialogs.

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

Successfully merging this pull request may close these issues.

1 participant