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
When you remove a named element from the ApplicationContext it stops drawing the element, but if you had an onclick registered, there is still an active region where the element used to be displayed.
The text was updated successfully, but these errors were encountered:
canselcik
changed the title
Removing an element does not remote the active region
Removing an element does not remove the active region
Sep 20, 2019
I remember this peculiar behavior. This is definitely a bug, at least something that doesn't work the way one would expect it to.
You can work around it by invoking remove_active_region_at_point with any point your element was occupying.
Basically the ActiveRegionHandler in question doesn't get removed from the QuadTree<ActiveRegionHandler> that is active_regions when an element is removed.
When you remove a named element from the
ApplicationContext
it stops drawing the element, but if you had anonclick
registered, there is still an active region where the element used to be displayed.The text was updated successfully, but these errors were encountered: