You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't stop events being captured and processed by the parent. I have Hammer instance on body and Hammer instance on child (aka "floatable window"). When I try to close child, parent also already captured whatever event and is holding reference to the child target. This is causing memory issues as targets are being hold by parent Hammer instance.
How can I handle this? I have tried many workarounds but none worked. How does Hammer handle events? Where should I capture and what should I capture in order to prevent parent Hammer instance to get any child triggered events? ...I am trying to understand how this works in Hammer but seems I can't wrap my head around it.
The text was updated successfully, but these errors were encountered:
I can't stop events being captured and processed by the parent. I have Hammer instance on body and Hammer instance on child (aka "floatable window"). When I try to close child, parent also already captured whatever event and is holding reference to the child target. This is causing memory issues as targets are being hold by parent Hammer instance.
How can I handle this? I have tried many workarounds but none worked. How does Hammer handle events? Where should I capture and what should I capture in order to prevent parent Hammer instance to get any child triggered events? ...I am trying to understand how this works in Hammer but seems I can't wrap my head around it.
The text was updated successfully, but these errors were encountered: