# Prevent keyboard from getting dismissed on mobile?

**URL:** <https://forum.bubble.io/t/prevent-keyboard-from-getting-dismissed-on-mobile/190713>\
**Category:** Need help\
**Created:** [February 8, 2022, 10:12pm UTC](https://forum.bubble.io/t/prevent-keyboard-from-getting-dismissed-on-mobile/190713 "2022-02-08T22:12:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alejandrowunderlich](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/alejandrowunderlich/32/97601_2.png) [@alejandrowunderlich](https://forum.bubble.io/u/alejandrowunderlich)\
**Post date:** [February 8, 2022, 10:12pm UTC](https://forum.bubble.io/t/prevent-keyboard-from-getting-dismissed-on-mobile/190713/1 "2022-02-08T22:12:08Z")

</div>

Working on a list-maker of sorts. After adding items to the list, I’d like the keyboard to stay on, ready to write the next item. (This would be useful for chat apps, too!)

I’ve tried “set focus to input” WF. It works on Desktop, but on mobile it still dismisses the keyboard after I hit enter.

Also tried this from codepen: [https://codepen.io/EtienneLem/pen/GMgpmW](https://codepen.io/EtienneLem/pen/GMgpmW)

Any ideas?

---

<div class="post-metadata">

**Author:** ![alejandrowunderlich](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/alejandrowunderlich/32/97601_2.png) [@alejandrowunderlich](https://forum.bubble.io/u/alejandrowunderlich)\
**Post date:** [February 9, 2022, 11:54pm UTC](https://forum.bubble.io/t/prevent-keyboard-from-getting-dismissed-on-mobile/190713/2 "2022-02-09T23:54:38Z")

</div>

Holding my breath, hoping someone figured this out.

This is particularly important for a chat app. Imagine having the iPhone’s keyboard be dismissed after each message. Ya! That would suck!

---

<div class="post-metadata">

**Author:** ![care1](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/care1/32/123797_2.png) [@care1](https://forum.bubble.io/u/care1)\
**Post date:** [February 10, 2022, 12:33am UTC](https://forum.bubble.io/t/prevent-keyboard-from-getting-dismissed-on-mobile/190713/3 "2022-02-10T00:33:47Z")

</div>

> [@alejandrowunderlich](#):
>
> orking on a list-maker of sorts. After adding items to the list, I’d like the keyboard to stay on, ready to write the next item. (This would be useful for chat apps, too!)
> 
> I’ve tried “set focus to input” WF. It works on Desktop, but on mobile it still dismisses the keyboard after I hit enter.

I’ll start by saying I never solved this, I’m just adding to the conversation. I encountered this limitation when I built a chat app last year. Despite searching for a solution, and trying many javascript-based strategies, I was **unable** to figure it out. (I even tried re-focusing the input after submitting the previous input value, which might be possible but is pretty jarring from a UX perspective.) I don’t want to discourage your search but it may not be possible. In the actual native architecture of Android and iOS there are element settings, one of which is this ability to keep the keyboard open. Absent of tapping into that, it may not be possible with a web app. Maybe a mobile-feature plugin like Codeless Academy will integrate this ability. (That plugin is awesome btw, it delivers native mobile behaviors to the bubble app; features like deep-linking, social share, and push notifications are so empowering to incorporate.)

Anyway, best of luck and please let us know if you discover any solutions.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [April 19, 2022, 10:12pm UTC](https://forum.bubble.io/t/prevent-keyboard-from-getting-dismissed-on-mobile/190713/4 "2022-04-19T22:12:39Z")

</div>

Closed on April 19, 2022, 10:12pm UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
