Skip to main content
← Design & Bravo Tags
Design & Bravo Tags May 26, 2022 · 6 replies

Input focus behavior

Archived from the Bravo community forum (2021–2026). Some answers may refer to older versions of Bravo.

Hey everyone, hope you are doing well. How can I achieve input focus behavior ? Like I want the input rectangle border to change color when input is focused.
Thank you.

6 replies

Bastos May 26, 2022

Check the bravo studio master tag list. You will see the supported states that are defaults active and pressed for buttons.

Leo May 26, 2022

I already tried active and pressed. They both need back a click on the element to come back to default state, what is not a focus behavior. Also when you tag your text with [component:input-***], on the input click, the input is triggered first so you cannot access the rectangle on the same click

Leo May 26, 2022

Please share an example if you have one. Thank you

Javier Felipe Bravo team May 26, 2022

Hi , input focus is not supported at the moment, but we'll add this to the feature request and might be able to support it in the future :)

Bastos May 26, 2022

There is no active state. I think there is no solution except an update from Bravo team adding that state.

Bastos May 26, 2022

didn’t see your answer before I wrote that it may be supported in a future update

Wrote something in this thread and want it removed? Request removal

Still stuck?

Ask the community on Discord

This archive is read-only. New questions, office hours and product updates now happen in the Bravo Discord.

Join the Discord