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 Smiley Sad


@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
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 90 members 3,641 guests
Please welcome our newest community members: