Is it possible to set a custom state or run a workflow based on something being pressed (NOT clicked)?

Is it possible to set a custom state or run a workflow based on something being pressed (NOT clicked)?

Can anyone think of a way of doing that?

Thanks.

Have you tried Bubble’s plugin?

Mouse & Keyboard Interactions - Bubble Docs

1 Like

you can achieve this by using a “trigger” element!

  1. create element somewhere. set it to “not visible” (i like to set it to no background so user doesn’t see it ever)

  2. use conditions to have trigger element be visible on press of desired group/button/etc

  3. run workflow based on trigger visibility!

this works great for menus too :slight_smile:

2 Likes

Hmm I wasn’t aware of this!

Thanks for sharing :slight_smile:

1 Like

Interesting! This seems to be working. Great idea. Thank you.

1 Like

You’re welcome! Just remember where you put the trigger, as it can can screw with responsive :slight_smile:

1 Like

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