Replo Docs

Why isn't my button interaction working?

Common problems with button interactions

Here are some examples of common reasons the button interactions aren't working as expected.

Multiple interactions set in a small click area

For example, two different interactions on the button and the button text. This can result in inconsistent behavior as some users click on the text vs. the button itself.

Interactions set differently on states

Setting an interaction on the Default state and a different action on the the Hover state. Each state can be stylized differently, including interactions. Check to make sure both are set as expected.

Hover state missing interaction

The hover state, when enabled, creates a distinct component. You may have set an interaction on the Default state, but not on the Hover state, resulting in button presses that do not register the interaction.

Was this article helpful?