# Android TextEditor popup keyboard problems on 6.1.5

**URL:** <https://forum.juce.com/t/android-texteditor-popup-keyboard-problems-on-6-1-5/50289>\
**Category:** Android\
**Created:** [February 21, 2022, 2:02am UTC](https://forum.juce.com/t/android-texteditor-popup-keyboard-problems-on-6-1-5/50289 "2022-02-21T02:02:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![beehoppop](https://avatars.discourse-cdn.com/v4/letter/b/67e7ee/32.png) [@beehoppop](https://forum.juce.com/u/beehoppop)\
**Post date:** [February 21, 2022, 2:02am UTC](https://forum.juce.com/t/android-texteditor-popup-keyboard-problems-on-6-1-5/50289/1 "2022-02-21T02:02:56Z")

</div>

Hi -

I added a single TextEditor component to the default AndroidTest app created by Projucer simply by adding “juce::TextEditor textEditor1;” to MainComponent.h, then “addAndMakeVisible(&textEditor1);” in MainComponent::MainComponent(), finally “textEditor1.setBounds(0, 0, getWidth(), getHeight() / 2);” in MainComponent::resized(). So the simplest test case I can think of for a TextEditor component.

When I run this the popup keyboard either doesn’t show-up or appears briefly and then disappears. I have seen some older posts about this but didn’t see any concrete solutions. I am debugging directly and seeing that textInputRequired() in juce\_android\_Windowing.cpp does get called and then dismissPendingTextInput() is immediately called after from TextEditor::mouseDown().

I am new to Android development and this seems like basic functionality so I must be doing something wrong? Before I start editing juce code to fix this I was wondering if anyone might have insight into what newbie mistake I might be making, or if this is a known issue with 6.1.5?

Thanks!

---

<div class="post-metadata">

**Author:** ![beehoppop](https://avatars.discourse-cdn.com/v4/letter/b/67e7ee/32.png) [@beehoppop](https://forum.juce.com/u/beehoppop)\
**Post date:** [February 21, 2022, 5:35pm UTC](https://forum.juce.com/t/android-texteditor-popup-keyboard-problems-on-6-1-5/50289/2 "2022-02-21T17:35:59Z")

</div>

In debugging this I suspect there is a bug in TextEditor::mouseDown(). Instead of dismissing text input at line 1845 in juce\_TextEditor.cpp it should be raised. This might effect iOS as well but I have not tested it there.

---

<div class="post-metadata">

**Author:** ![tobyscreamer](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/tobyscreamer/32/12563_2.png) [@tobyscreamer](https://forum.juce.com/u/tobyscreamer)\
**Post date:** [April 19, 2022, 6:34pm UTC](https://forum.juce.com/t/android-texteditor-popup-keyboard-problems-on-6-1-5/50289/3 "2022-04-19T18:34:02Z")

</div>

Hello!

I’ve the same problem with 6.1.5… (and 6.1.6)  
Android keyboard is full Ok with 6.1.4.  
Sorry, no solution found.

---

<div class="post-metadata">

**Author:** ![eddie3](https://avatars.discourse-cdn.com/v4/letter/e/e9a140/32.png) [@eddie3](https://forum.juce.com/u/eddie3)\
**Post date:** [April 22, 2022, 4:39am UTC](https://forum.juce.com/t/android-texteditor-popup-keyboard-problems-on-6-1-5/50289/4 "2022-04-22T04:39:45Z")

</div>

I upgraded my application from JUCE 5 to JUCE 6.1.6 and also encountered this same problem on 6.1.6.

---

<div class="post-metadata">

**Author:** ![t0m](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/t0m/32/16413_2.png) [@t0m](https://forum.juce.com/u/t0m)\
**Post date:** [April 27, 2022, 7:15pm UTC](https://forum.juce.com/t/android-texteditor-popup-keyboard-problems-on-6-1-5/50289/5 "2022-04-27T19:15:33Z")

</div>

> [@Tap textbox, On-Screen keyboard not showing (iOS/Android)](https://forum.juce.com/t/tap-textbox-on-screen-keyboard-not-showing-ios-android/51174/4):
>
> Thank you for reporting. We have a fix here:
