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(Select): prevent footer clicks from toggling #7193

Merged
merged 1 commit into from Apr 11, 2022

Conversation

kmcfaul
Copy link
Contributor

@kmcfaul kmcfaul commented Apr 7, 2022

What: Closes #6983

Adds an extra check which prevents a click on the footer or footer item from toggling an open menu closed, for Selects that use menuAppendTo (the default inline select will already prevent this toggle). If a footer item should close the menu that should be handled in its event handler.

@patternfly-build
Copy link
Contributor

patternfly-build commented Apr 7, 2022

@nicolethoen nicolethoen merged commit 2cd10c2 into patternfly:main Apr 11, 2022
@patternfly-build
Copy link
Contributor

Your changes have been released in:

  • eslint-plugin-patternfly-react@4.41.24
  • @patternfly/react-catalog-view-extension@4.53.24
  • @patternfly/react-charts@6.55.24
  • @patternfly/react-code-editor@4.43.24
  • @patternfly/react-console@4.53.24
  • @patternfly/react-core@4.202.24
  • @patternfly/react-docs@5.63.24
  • @patternfly/react-icons@4.53.24
  • @patternfly/react-inline-edit-extension@4.47.24
  • demo-app-ts@4.162.24
  • @patternfly/react-integration@4.164.24
  • @patternfly/react-log-viewer@4.47.24
  • @patternfly/react-styles@4.52.24
  • @patternfly/react-table@4.71.24
  • @patternfly/react-tokens@4.54.24
  • @patternfly/react-topology@4.49.24
  • @patternfly/react-virtualized-extension@4.49.24
  • transformer-cjs-imports@4.40.24

Thanks for your contribution! 🎉

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.

Can you please add an integration test.

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 - [Select] - [Clicking on footer closes Select dropdown]
5 participants