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

Only prevent touchevent outside popover #2205

Merged
merged 4 commits into from
Apr 29, 2022

Conversation

RasmusKjeldgaard
Copy link
Collaborator

Which issue does this PR close?

This PR closes #2204

What is the new behavior?

We make sure to check that we are not actually scrolling inside the popover, before we prevent the touchmove event.

Does this PR introduce a breaking change?

  • Yes
  • No

Checklist:

The following tasks should be carried out in sequence in order to follow the process of contributing correctly.

Reminders

  • Make sure you have implemented tests following the guidelines in: "The good: Test".
  • Make sure you have updated the cookbook with examples and showcases (for bug fixes, enhancements & new components).

Review

  • Do a self-review.
  • Request that the changes are code-reviewed
  • Request that the changes are UX reviewed (only necessary if your PR introduces visual changes)

When the pull request has been approved it will be automatically merged to stable via automerge.

@github-actions github-actions bot temporarily deployed to pr-2204-dropdown-popover-not-scrollable April 28, 2022 11:24 Inactive
@jkaltoft jkaltoft self-requested a review April 28, 2022 11:45
jkaltoft
jkaltoft previously approved these changes Apr 28, 2022
Copy link
Collaborator

@jkaltoft jkaltoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fair

jkaltoft
jkaltoft previously approved these changes Apr 28, 2022
@github-actions github-actions bot temporarily deployed to pr-2204-dropdown-popover-not-scrollable April 28, 2022 12:23 Inactive
This is to avoid future problems if 'this' is referred within the
callback down the line.
@github-actions github-actions bot temporarily deployed to pr-2204-dropdown-popover-not-scrollable April 28, 2022 13:22 Inactive
@RasmusKjeldgaard RasmusKjeldgaard merged commit 62ea66d into main Apr 29, 2022
@RasmusKjeldgaard RasmusKjeldgaard deleted the bug/2204-dropdown-popover-not-scrollable branch April 29, 2022 07:18
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.

[BUG] Dropdown with popover not scrollable on native
2 participants