Closed marc2332 closed 5 months ago
This is a very weird edge case that makes the VirtualDOM fire events on Elements that have been removed and whose ElementId have been reused.
I simply need to retrieve the ElementId just before calling vdom.handle_event instead of getting it in events_measurer.
vdom.handle_event
events_measurer
This will mostly occur with keydown events, which will be queued in most cases and not bubble up, leading to the problem described above.
This is a very weird edge case that makes the VirtualDOM fire events on Elements that have been removed and whose ElementId have been reused.
I simply need to retrieve the ElementId just before calling
vdom.handle_event
instead of getting it inevents_measurer
.