mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Only call ComponentPeer::textInputRequired() from TextEditor::checkFocus() if the focus status has changed to fix the soft input keyboard constantly re-opening on Android
This commit is contained in:
parent
291d654ece
commit
9715e77e0f
1 changed files with 1 additions and 1 deletions
|
|
@ -1251,7 +1251,7 @@ void TextEditor::timerCallbackInt()
|
|||
|
||||
void TextEditor::checkFocus()
|
||||
{
|
||||
if (hasKeyboardFocus (false) && ! isCurrentlyBlockedByAnotherModalComponent())
|
||||
if (! wasFocused && hasKeyboardFocus (false) && ! isCurrentlyBlockedByAnotherModalComponent())
|
||||
{
|
||||
wasFocused = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue