Closed guivr closed 2 years ago
Sounds like a bug, but you could store the variable somewhere, like on the instance itself instance._ref = ...
inside onTrigger
, then access that inside onMount
Very sorry for the inconvenience. Bug on my code, not yours
Bug description
When you use
.delegate
, the value ofinstance.reference
in the eventonMount
is always the last reference created/opened - not the same asevent.target
value ononTrigger
.On my code, I can't use
onTrigger
, I need to useonMount
, butonMount
doesn't receiveevent
info. How can I pass this info fromonTrigger
toonMount
or is this a bug andinstance.reference
should actually be theevent.target
?