Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
lufinkey's avatar
lufinkey
Protege
3 years ago

Interactable does not correctly forward unhover events when disabled

If you make your InteractableGroupView (and as a result your Interactables) inactive in your Unselect event handler, no Unhover events are forwarded to your PointableElement (or Grabbable, in this case). This would be easily worked around if I could just call Interactor.Unhover, but this has a check for ShouldUnhover, which checks if the Interactor state is Hover. So if you're in the Unselect event handler, Interactor.Unhover does nothing because the State is still set to Select. The only way I can correctly receive my unhover events is triggering the pointer event manually before making the InteractableGroupView inactive

Replies have been turned off for this discussion