(cherry picked from commit 033cdfc459)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
This commit is contained in:
parent
1082f08757
commit
031bac9863
2 changed files with 4 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ export default class MainSidebarIOS extends MainSidebarBase {
|
|||
if (this.state.drawerOpened && this.drawerRef?.current) {
|
||||
this.drawerRef.current.closeDrawer();
|
||||
} else if (this.drawerSwiper && DeviceTypes.IS_TABLET) {
|
||||
this.resetDrawer(true);
|
||||
this.resetDrawer();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -156,6 +156,9 @@ export default class MainSidebarBase extends Component {
|
|||
|
||||
onSearchEnds = () => {
|
||||
this.setState({searching: false});
|
||||
if (this.drawerRef?.current) {
|
||||
this.drawerRef.current.canClose = true;
|
||||
}
|
||||
};
|
||||
|
||||
onSearchStart = () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue