How to disable slide to open function on RadSideDrawer

android

#1

Anyone know how to disable “slide-open” gesture on RadSideDrawer? I would like to open side menu by click button on action bar and still keep the “click/slide to close” function.

I have tried:

export function onLoaded(args: EventData): void {
    const drawerComponent = <RadSideDrawer>args.object;
  
    if(isAndroid){
        drawerComponent.android.setTouchTargetThreshold(0);
    }
}

It only works before the side menu is opened by button clicking.

Reference is here

Thanks