mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-03 03:30:06 +00:00
Android: Fix dismissing screen keyboard when interacting with TextEditor
This commit is contained in:
parent
669782cdf4
commit
627afffeb4
6 changed files with 26 additions and 7 deletions
|
|
@ -1831,7 +1831,7 @@ void TextEditor::mouseDown (const MouseEvent& e)
|
|||
e.mods.isShiftDown());
|
||||
|
||||
if (auto* peer = getPeer())
|
||||
peer->dismissPendingTextInput();
|
||||
peer->closeInputMethodContext();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -1954,7 +1954,7 @@ bool TextEditor::moveCaretWithTransaction (const int newPos, const bool selectin
|
|||
moveCaretTo (newPos, selecting);
|
||||
|
||||
if (auto* peer = getPeer())
|
||||
peer->dismissPendingTextInput();
|
||||
peer->closeInputMethodContext();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue