You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the Javascript port, the SideMenu works correctly, but there is an issue in Safari only (not in Chrome). The problem is that Safari uses the swipe to go back or forward in the history, while the SideMenu uses the same swipe to open or close itself. This creates a conflict and weird effects.
Is it possible to disable the Safari default behavior about the swipe? If it's not possible, is it possible to disable the SideMenu swipe only on Safari (leaving it in the native apps and in other browsers)?
The text was updated successfully, but these errors were encountered:
TLDR: There is no way to disable this swipe forward/back behaviour in Safari. The workarounds suggested in this thread and other places is to hack away at the browser history - but this would destroy the normal forward/back behaviour as well so it is not a good option.
So I suppose that this is the maximum that we can do:
// Default for the side menu
if (!Display.getInstance().isSimulator() && "HTML5".equals(CN.getPlatformName())) {
Toolbar.setEnableSideMenuSwipe(false);
} else {
Toolbar.setEnableSideMenuSwipe(true);
}
On the Javascript port, the SideMenu works correctly, but there is an issue in Safari only (not in Chrome). The problem is that Safari uses the swipe to go back or forward in the history, while the SideMenu uses the same swipe to open or close itself. This creates a conflict and weird effects.
Is it possible to disable the Safari default behavior about the swipe? If it's not possible, is it possible to disable the SideMenu swipe only on Safari (leaving it in the native apps and in other browsers)?
The text was updated successfully, but these errors were encountered: