fixed false triggering of swipes for the main menu drawer of PageHome
This commit is contained in:
parent
89096554e8
commit
f751657903
1 changed files with 7 additions and 1 deletions
|
@ -129,7 +129,13 @@ PageType {
|
|||
DrawerType {
|
||||
id: menu
|
||||
|
||||
interactive: true
|
||||
interactive: {
|
||||
if (stackView && stackView.currentItem) {
|
||||
return (stackView.currentItem.objectName === PageController.getPagePath(PageEnum.PageHome)) ? true : false
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
}
|
||||
dragMargin: buttonBackground.height + 56 // page start tabBar height
|
||||
|
||||
width: parent.width
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue