cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
daroot
Level 8

Auto hide Navigation contents

Hi All,

 

I created a Navigation menu using humberger icon as trigger. The menu work fine with the OnSelect hamburger icon Menu will Appeared, but if I clicked a button and navigate to other screen the menu not auto hide on new load screen.

 

  1. In my case: On the Dashboard page, clicked the Hamburger and than clicked the button Add New and will navigate to the EditForm, but on EditForm Screen the Navigation still appeared (I expect it will auto hide). Any advice on this?
  2. And how to create the Navigation Sidebar smoothly appeared (flyout - maybe)

 

Many Thanks for any advice,

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Eickhel
Level 8

Re: Auto hide Navigation contents

Hey,

 

You could try two ways:

  • In the "On Visible" of the target screen you could reset the Hamburguer Menu so it hides when this screen becomes visible.
  • In the "Navigate" method you could pass parameters like so:
    Navigate( TargetScreen, Fade, {hideMenu:true})
    and depending on this variable show / hide the menu

Does any of these works for you?

 

About the animation, try playing with a timer to move things around. Need some inspiration? Check the PowerApps bank [ https://dynamics365society.uk/pab-directory ]

View solution in original post

3 REPLIES 3
daroot
Level 8

Re: Auto hide Navigation contents

UPDATE: for solution 1. I used the UpdateContext function, but still stuck on question 2 😞


@daroot wrote:

Hi All,

 

I created a Navigation menu using humberger icon as trigger. The menu work fine with the OnSelect hamburger icon Menu will Appeared, but if I clicked a button and navigate to other screen the menu not auto hide on new load screen.

 

  1. In my case: On the Dashboard page, clicked the Hamburger and than clicked the button Add New and will navigate to the EditForm, but on EditForm Screen the Navigation still appeared (I expect it will auto hide). Any advice on this?
  2. And how to create the Navigation Sidebar smoothly appeared (flyout - maybe)

 

Many Thanks for any advice,

 

 


 

Eickhel
Level 8

Re: Auto hide Navigation contents

Hey,

 

You could try two ways:

  • In the "On Visible" of the target screen you could reset the Hamburguer Menu so it hides when this screen becomes visible.
  • In the "Navigate" method you could pass parameters like so:
    Navigate( TargetScreen, Fade, {hideMenu:true})
    and depending on this variable show / hide the menu

Does any of these works for you?

 

About the animation, try playing with a timer to move things around. Need some inspiration? Check the PowerApps bank [ https://dynamics365society.uk/pab-directory ]

View solution in original post

daroot
Level 8

Re: Auto hide Navigation contents

Thanks @Eickhel very cleaned solution, I will trying the timer later. 

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 132 members 5,027 guests
Please welcome our newest community members: