diff options
author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2021-01-14 12:32:47 +0100 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2021-01-20 16:52:21 +0100 |
commit | 427e639275be379e3577cd3b3c8a63a6b5e46d46 (patch) | |
tree | 50520faf7d14ad1fa7b72f542ceff184e9ea0641 /mkspecs/features/mac | |
parent | 2e35a03cd624c006b92cb95847231c8b1efde45b (diff) |
iOS: ensure we close the edit menu when the user taps outside the input area
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.
Because of this, we no longer close the edit menu if
the user taps outside the input area. This patch will
fix this by updating the logic in QIOSTapRecognizer to
close the menu explicitly.
There are some more details around when to show or hide
the menu, which is commented on at the relevant places
directly in the patch.
Pick-to: 6.0 5.15
Fixes: QTBUG-90332
Change-Id: I336e3f4003817b39c7abf63f963fde1f3ef87c20
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'mkspecs/features/mac')
0 files changed, 0 insertions, 0 deletions