I’ve just come to a situation where I need this, not because of iOS, but because my custom HTML to keep a groupfocus element always open causes issues with set focus on input…the easiest solution I found was from this post
Hey! I actually had to refer to my own tutorial today for improving my app! That’s fun
I have yet another handy tip I learned elsewhere in the forums but I’m placing it here to tie these concepts together.
How to highlight an input when it is focused:
Bubble doesn’t allow using the “is focused” condition on workflows by default. This means you can’t just build a workflow that’s like “Do When [Input] Is Focused” so that when you click an input it automatically highlights any exis…
const input = document.getElementById('YOUR_INPUT_ID_GOES_HERE'); input.select();
This is is all you need so that any element you want to click or conditional trigger will cause the input to be focused.
I’m not 100% sure this works for iOS or not
1 Like