diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2019-10-02 15:03:35 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2019-10-07 16:59:15 +0200 |
commit | 24651843511aa508e5c5968eaa7c7c2d3331cc17 (patch) | |
tree | 0319631ab0ee3e4f02f7d0b951ad5878d3fa8042 /tests | |
parent | f7d44cc6da02a7e386ebe826bd278e83ce3e324a (diff) |
iOS: Prevent UIKit from adding UITextInteraction to our view
It's added automatically when some languages such as Japanese are
the active input language/keyboard, which results in UIKit triggering
the edit menu for any tap in the UI, regardless of whether it hits
the focus object or not.
Adopting the protocol is a much larger effort and needs to be
coordinated so that we still support text interaction on iOS
versions pre 13.0.
Even with this patch the UITextSelectionView will still blink
its own cursor, which doesn't seem to sync up with the UITextInput
protocol's view of where the cursor is.
Fixes: QTBUG-78496
Change-Id: I61500ad7ab9c8577f71188c0c99ead39465e3839
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit e00d888daefbfbd5f17e0772421773f8e295087b)
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions