Skip to main content
← Design & Bravo Tags
Design & Bravo Tags February 4, 2022 · 2 replies

How can i close a modal and log out via a single tap?

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

I've got a modal with two buttons e.g. "Cancel" and "Log out".

The "Cancel" button has the tag [action:close] and it simply closes when i press. But there is an issue with two action tags. If i use a combination of [action:logout:firebase] and [action:close] an app just logs me out and the modal keeps displaying. When the combination has [action:close] first and then goes [action:logout:firebase] the modal closes and i'm still in my account.

Is there a way to solve it or i should forget about using a modal for this?

2 replies

Diego Iglesias Bravo team February 4, 2022

Hey Eugene, 

At the moment we don't support multiple action tags per component, so you will need to find the best UX with this in mind.

Karla February 7, 2022

You can use remote actions they have a follow up, but mostly they are done with database requests and not with tags.

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