145
Views
1
Comments
Solved
[OutSystems UI] Tooltip with buttons inside not working using the trigger OnClick
outsystems-ui
Reactive icon
Forge asset by OutSystems
Application Type
Reactive

Hi everyone,

I have a scenario where I have button inside of a tooltip.

The issue that I'm facing is the following:

Using the Trigger method (Entities.Trigger.OnClick)when I click on the icon or text inside of the button, nothing happens:

 if I click anywhere that it is not text or icon it works. 


Using the Trigger method (Entities.Trigger.OnHover) I dont' have any problem and it works as expected.


Does anyone know why this happens when using the Trigger OnClick?


I will leave the OML so you can also check it if you need.


Thanks in advance!

TooltipIssue.oml
2022-11-12 11-28-30
Gonçalo Martins
Staff
Solution

Hello @Fábio Santos

You can add the data attribute data-allow-event-propagation = True in those elements to make it work. 

Cheers,
GM

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.