For elements which don't have this functionality the workaround is to use pointer events and make the elements unclickable.