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
Hide mobile nav on subpages based on backPath #4695
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -66,225 +64,213 @@ const Component = ({ | |||
const allowedMultipleInstalls = categories.indexOf("calendar") > -1; | |||
|
|||
return ( | |||
<> | |||
<div className="px-4 pb-3 pt-8 sm:pt-2 md:px-8 lg:px-0 lg:pt-0"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Implemented this code using backPath
and heading
props supported by Shell.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great job
backPath
plus Heading combination of AppStore and other pages.It covers all the cases mentioned here #4398 (comment)
I think we need a back button on mobile as well. It is more important to be there because navigation is gone there.
Edit: Found out that it was supposed to work already, but wasn't working due to a bug. Fixed that bug as well.
This is how the flow would be to explore different apps.
Apps -> App1 -> Logo Click -> Apps -> App2
Apps -> App1 -> Back-> App2
Loom Demo
What does this PR do?
Fixes #4398
Environment:Production
Type of change
How should this be tested?
See loom video