Hello,
We have a Link in a content/Tooltip inside a content placeholder, and we have attached a custom event on click. It works as expected when we are in desktop mode, however when the same link (inside content/Tooltip) is clicked it triggers page refresh. We would love your help.
Thanks in advance!
Hi Chris,
May I know what action are you trying to execute in your EventOnClick?
Or maybe if you could share your oml. file here it would be better for us to help
Thanks,
Regards,
Aqil
Hi Ahmad,
It's a custom client action that triggers an onclick event, nothing in it triggers a screen refresh action, that is a guarantee.
Actually , normally tooltip is not working in mobile because there is no mouse action(on hover), but you can try to custom the tooltip functionality using something like onhold of the link/icon to display the tooltip (need to play around with ontouchstart etc)
and if you want that link working on tablet/mobile mode you can use DisplayOnDevice widget then onPhone and onTablet just use normal link without existing tooltip widget.
I hope this will helps you,
Thanks
Here is the oml of a tooltip with a link, see how it opens the popup on desktop, but on mobile it doesn't.
Please find the attached oml file, maybe you can try something like that.
Thanks Aqil, you were very helpfull, we will try that. Although we still cant find why our page refreshes onclick.
Thank you for your quick responses.
Chris
@Chris Skretis Were you able to find anything more about your issue? Through some troubleshooting I feel I may be experiencing a similar issue. It is very intermittient but on a reactive app a link within a tool tip seems to be triggering a complete page refresh.If you ended up with a solution any input would be great thanks.