Hi! Is there an easy solution for this problem?
1 Like
My guess for the reason that the click handler from Aurelia is not easily overridden because it’s attached very early, thus will be called before all else. I’ve posted an answer for this awhile ago here https://github.com/aurelia/history-browser/pull/32#issuecomment-409470589
The idea is to get LinkHandler
instance, call deactivate
, then attach a listener during capturing phase, and call stopImmediatePropagation()
, and then call activate
on the same LinkHandler
instance.
Can you give it a try? (Let me know if you need some example code)