Skip to content

Commit

Permalink
Merge pull request #5025 from owncloud/fix/hide-navigation-on-route-c…
Browse files Browse the repository at this point in the history
…hange

Fix: hide navigation on route change
  • Loading branch information
kulmann authored Apr 26, 2021
2 parents dc3e760 + f5967dd commit b366c0d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions changelog/unreleased/bugfix-hide-navigation-on-route-change
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Bugfix: Hide left sidebar navigation when switching routes

On smaller screens, the left sidebar containing the extension navigation is collapsed.
We've fixed that when the user expanded the sidebar and navigated to a different route the sidebar is collapsed again.

https://github.com/owncloud/web/pull/5025
1 change: 1 addition & 0 deletions packages/web-runtime/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ export default {
handler: function(to) {
this.announceRouteChange(to)
document.title = this.extractPageTitleFromRoute(to)
this.appNavigationVisible = false
}
},
capabilities(caps) {
Expand Down

0 comments on commit b366c0d

Please sign in to comment.