From 54776212e893bcac31af7b21c94cc9be4ff09b66 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 21 Oct 2021 10:08:48 +0200 Subject: [PATCH] menu: interaction issue on iOS --- CHANGELOG.md | 3 +++ src/client/widgets/basics/menu.js | 9 ++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4144e4b5..52376ffe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## 1.11.0 +- bug fixes + - menu: interaction issue on iOS + - widgets - when a panel contains widgets and has `scroll` set to `true`, its value will be used to represent the scroll position for x-axis and y-axis between 0 and 1. diff --git a/src/client/widgets/basics/menu.js b/src/client/widgets/basics/menu.js index 92fdc302..2cb4ed0f 100644 --- a/src/client/widgets/basics/menu.js +++ b/src/client/widgets/basics/menu.js @@ -2,7 +2,8 @@ var MenuBase = require('./menu-base'), {iconify} = require('../../ui/utils'), doubletap = require('../mixins/double_tap'), html = require('nanohtml'), - raw = require('nanohtml/raw') + raw = require('nanohtml/raw'), + iOS = require('../../ui/ios') class Menu extends MenuBase { @@ -96,7 +97,8 @@ class Menu extends MenuBase { } - }, {element: this.widget}) + // multitouch is only needed for iOS which fails otherwise + }, {element: this.widget, multitouch: iOS}) } else { @@ -114,7 +116,8 @@ class Menu extends MenuBase { } - }, {element: this.widget}) + }, {element: this.widget, multitouch: iOS}) + }