Skip to content

Conversation

@jglogan
Copy link

@jglogan jglogan commented Apr 18, 2017

Entering a value into the pf-toolbar filter input box causes the toolbar viewConfig.viewSelected() handler to be invoked.

This causes the view to change if a filter is keyed in while in any other view.

This appears to happen because the return keypress is also interpreted as a click event, which triggers the ng-click handler for the view selection button.

- Entering a value into the pf-toolbar filter input
  box causes the toolbar viewConfig.viewSelected()
  handler to be invoked.  This causes the view to
  change if a filter is keyed in while in any
  other view.  This appears to happen because
  the return keypress is also interpreted as a
  click event, which triggers the ng-click handler
  for the view selection button.
@dtaylor113
Copy link
Member

Thanks @jglogan! Appreciate the fix/PR :-)

@dtaylor113 dtaylor113 merged commit 1190db1 into patternfly:master Apr 19, 2017
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.

3 participants