Skip to main content
OutSystems

How to click a link inside an accordion

Symptom

I can't click a button inside an accordion. The accordion just closes.

download inside accordion.png

Cause

The click event on the button propagates to the accordion.

Resolution

Wrap the link inside a container, and set the extended property onclick with "event.stopPropagation();".

download inside accordion2.png

  • Was this article helpful?