Prevent keyboard from getting dismissed on mobile?

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

Any ideas?

1 Like

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!

1 Like

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.

1 Like

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