我为mmenu集成了拖动选项。但是我认为这太敏感了。当我尝试用拇指向下滚动时,通常面板会关闭并滑回更高的位置。
有没有机会得到更好的处理?
navOptions: {
"extensions": [
"position-back",
"position-right",
"pagedim-black"
],
navbars: [{
"height": 4,
"position": "bottom",
"content": '<div class="meta-placer"><div>'
}],
drag: {
menu: {
maxStartPos: 100,
},
panels: {
close: true
}
}
},
navConfig: {
offCanvas: {
pageSelector: '.mm-page-wrapper'
},
classNames: {
selected: 'is-current',
fixedElements: {
fixed: "js-mmenu-fixed"
}
}
}