Skip to content

Conversation

@thatblindgeye
Copy link
Contributor

What: Closes #9183

Additional issues:

@thatblindgeye thatblindgeye requested a review from mcarrano June 8, 2023 12:31
@patternfly-build
Copy link
Contributor

patternfly-build commented Jun 8, 2023

Copy link
Member

@mcarrano mcarrano left a comment

Choose a reason for hiding this comment

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

The component example is working, but I still see a problem in the demo here: https://patternfly-react-pr-9255.surge.sh/components/navigation/react-demos/drilldown-nav/

@thatblindgeye
Copy link
Contributor Author

@mcarrano good catch, should now be working as well

@thatblindgeye thatblindgeye requested a review from mcarrano June 8, 2023 14:19
Copy link
Contributor

@kmcfaul kmcfaul left a comment

Choose a reason for hiding this comment

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

Fixes LGTM.

Only question I have is that on the demo the top nav item in a drilled in menu is permanently highlighted, which I understand because its the active submenu (or should it not highlight?). But the hover highlight is the same color so it looks a bit weird trying to select another item.

@thatblindgeye
Copy link
Contributor Author

Only question I have is that on the demo the top nav item in a drilled in menu is permanently highlighted, which I understand because its the active submenu (or should it not highlight?). But the hover highlight is the same color so it looks a bit weird trying to select another item.

Good point. It does match the behavior seen in our Menu drilldown example, and having it highlight also can help convey what item in the new menu has focus for users as well. But yeah the style matching the hover style can be confusing. @mcarrano what do you think?

Copy link
Contributor

@nicolethoen nicolethoen left a comment

Choose a reason for hiding this comment

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

LGTM - pending @mcarrano's opinion about styles

@mcarrano
Copy link
Member

mcarrano commented Jun 8, 2023

Only question I have is that on the demo the top nav item in a drilled in menu is permanently highlighted, which I understand because its the active submenu (or should it not highlight?). But the hover highlight is the same color so it looks a bit weird trying to select another item.

I have to admit this looks a bit off. If I compare it to this demo, for example, the hover and selected styles are slightly different. This may have been an oversight with the original implementation, and unless the styling changed for v5 or there is a simple fix, I say merge this and perhaps open a follow-up design issue.

@mcoker @mceledonia can you take a quick look and see if this styling matches your expectation? It's this demo: https://patternfly-react-pr-9255.surge.sh/components/navigation/react-demos/drilldown-nav

@mceledonia
Copy link

Yeah, I don't think the background change is necessary here, it seems pretty clear you're in a new navigation context without it.

@tlabaj
Copy link
Contributor

tlabaj commented Jun 8, 2023

@mcarrano if you are ok with it, let's open a follow up issue.

@mcarrano
Copy link
Member

mcarrano commented Jun 8, 2023

@tlabaj yes, I am OK with that. I can approve this and open a new design issue.

@mcarrano
Copy link
Member

mcarrano commented Jun 8, 2023

Opened this follow-up issue: patternfly/patternfly-design#1263

@tlabaj tlabaj merged commit e6e371d into patternfly:main Jun 8, 2023
@patternfly-build
Copy link
Contributor

Your changes have been released in:

  • @patternfly/react-code-editor@5.0.0-prerelease.4
  • @patternfly/react-core@5.0.0-prerelease.4
  • @patternfly/react-docs@6.0.0-prerelease.4
  • @patternfly/react-table@5.0.0-prerelease.4

Thanks for your contribution! 🎉

nicolethoen pushed a commit to Kells512/patternfly-react that referenced this pull request Sep 1, 2023
* fix(Nav): updated drilldown navigation heights

* Bump reactcore version

* Updated drilldown demo
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 - Navigation - Drill down navigation is broken

7 participants