Properly hides filter menu when advanced search is opeded;

This commit is contained in:
Mateus Machado Luna 2020-02-10 17:16:44 -03:00
parent 9a7092c877
commit b38df8b452
3 changed files with 8 additions and 4 deletions

View File

@ -723,8 +723,10 @@
if (newValue == false){
this.$eventBusSearch.$emit('closeAdvancedSearch');
this.advancedSearchResults = false;
this.isFiltersModalActive = true;
} else {
this.$eventBusSearch.clearAllFilters();
this.isFiltersModalActive = false;
}
},
orderByName() {

View File

@ -627,8 +627,10 @@
if (newValue == false){
this.$eventBusSearch.$emit('closeAdvancedSearch');
this.advancedSearchResults = false;
this.isFiltersModalActive = !this.startWithFiltersHidden;
} else {
this.$eventBusSearch.clearAllFilters();
this.isFiltersModalActive = false;
}
},
orderByName() {

View File

@ -55,7 +55,7 @@
z-index: 99999;
float: left;
max-width: 20%;
min-width: 180px;
min-width: 154px;
min-height: 100%;
width: auto;
height: auto;
@ -91,9 +91,9 @@
}
.items-list-area {
-webkit-flex: 0 1 auto;
-ms-flex: 0 1 auto;
flex: 0 1 auto;
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
min-height: 100%;
}