Forum Documentation Showcase Pricing Learn more

You can trigger actions on hover

#1

Just a small tip that has helped me. I used to solve this by using an additional element that was conditionally visible on hover, and that element’s visibility triggered the workflow.

That’s not necessary, as it turns out.

You can’t pick the Do When X is Hovered constraint in the workflow editor, but you can copy/paste it. I don’t know the reason this can’t be done directly, but it works nonetheless.

So just create the constraint in the visual editor, copy the expression and paste it into a Do When Condition is True workflow in the workflow editor, and voilá.

@josh
Is there a reason this is not possible to do in the “normal” way in the workflow editor, and is there any risk “hacking” it in this way? Will the loophole be closed, for example?

13 Likes

#2

wow, this is a great find @petter :slight_smile:
very helpful and useful, hope Bubble don’t close it down :slight_smile:

1 Like

#3

Thanks for this super useful info! Also:
When creating the expression in the Conditions tab, I found out that selecting “This Image is hovered”, pasting into workflows shows up “This customDefinition” instead. The workaround for this is to instead use “Image A” or something else, instead of “This ~~”.

0 Likes