diff options
author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2021-01-14 11:31:01 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-01-20 18:20:18 +0000 |
commit | 1baf4d9ea45d03cc1cbdcccdaebb633e9dc7d961 (patch) | |
tree | e369c049ec8671bc3ba6e9716cdc742c08593a63 /src/plugins/platforms/android | |
parent | c1cd5dcabed67ce5932879b4c0fc321cd8c305a5 (diff) |
iOS: ensure we hide the edit menu while dragging on the selection handles
iOS used to close the edit menu automatically when
the user tapped on the screen (even for menus shown
explicitly using the UIMenuController API). Apperently
this has now changed (probably as a part of
[UIMenuController setMenuVisible:] being deprecated in
iOS 13). So we now need to hide it explicitly instead.
Because of this, the edit menu would be showing together
with the magnifier class while the user was dragging on
any of the handles. This patch will fix this, so that we
close the edit menu explicitly whenever the user starts
dragging on a handle.
Fixes: QTBUG-80298
Change-Id: Iff2032d64db1b582fa7f048c6a1f37ec8a1528af
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
(cherry picked from commit 2e35a03cd624c006b92cb95847231c8b1efde45b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/plugins/platforms/android')
0 files changed, 0 insertions, 0 deletions