mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
Search on mobile opens Sidemenu (#929)
* Added a check for mobile pages to prevent sidemenu opening
This commit is contained in:
committed by
Denys Vuika
parent
ad1d2633c4
commit
aa4f81118f
@@ -155,7 +155,9 @@ export class AppLayoutComponent implements OnInit, OnDestroy {
|
||||
private updateState() {
|
||||
if (this.minimizeSidenav && !this.layout.isMenuMinimized) {
|
||||
this.layout.isMenuMinimized = true;
|
||||
this.layout.container.toggleMenu();
|
||||
if (!this.layout.container.isMobileScreenSize) {
|
||||
this.layout.container.toggleMenu();
|
||||
}
|
||||
}
|
||||
|
||||
if (!this.minimizeSidenav) {
|
||||
|
Reference in New Issue
Block a user