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

fix(DropdownToggle): Listen for touch events on the document to close a Toggle on mobile #1152

Merged
merged 1 commit into from
Jan 11, 2019

Conversation

mturley
Copy link
Collaborator

@mturley mturley commented Jan 9, 2019

What:
Fixes #1131, correcting dropdown behavior on iOS devices.

Additional issues:
Also fixes a broken test that was never running assertions due to setTimeout.

… a Toggle on mobile

Fixes Dropdown behavior on iOS devices.
Also fixes a broken test that was never running assertions due to setTimeout.

fix patternfly#1131
@mturley mturley requested a review from dgutride January 9, 2019 22:47
@patternfly-build
Copy link
Contributor

PatternFly-React preview: https://1152-pr-patternfly-react-patternfly.surge.sh

@coveralls
Copy link

Pull Request Test Coverage Report for Build 3881

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.005%) to 81.208%

Totals Coverage Status
Change from base Build 3866: 0.005%
Covered Lines: 4369
Relevant Lines: 5076

💛 - Coveralls

@mturley mturley added bug 🐛 PF4 React issues for the PF4 core effort labels Jan 10, 2019
@dlabaj
Copy link
Contributor

dlabaj commented Jan 10, 2019

LGTM

Copy link
Collaborator

@jgiardino jgiardino left a comment

Choose a reason for hiding this comment

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

LGTM! 🎉

Copy link
Member

@ibolton336 ibolton336 left a comment

Choose a reason for hiding this comment

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

Nice! 👍

Copy link
Contributor

@tlabaj tlabaj left a comment

Choose a reason for hiding this comment

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

LGTM

@jschuler jschuler merged commit a7f3c89 into patternfly:master Jan 11, 2019
@mturley mturley deleted the 1131-toggle-touchstart branch January 11, 2019 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PF4 React issues for the PF4 core effort
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dropdown component does not close on touch event outside of the focused area
8 participants