In 11.13 event handler can not be removed anymore
See original GitHub issueIssue Description
The following code worked as expected in 11.12
:
final EventType<T> eventType = ...
final EventHandler<? super T> eventHandler = ...
FXGL.getInput().addEventHandler(eventType, eventHandler);
//Now the event handler is registered and the program reacts on user interaction
FXGL.getInput().removeEventHandler(eventType, eventHandler);
//The handler has been removed and the program does not react on the user interaction anymore
With an update to 11.13
the removeEventHandler
does not work anymore. The event handler is still registered.
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (5 by maintainers)
Top Results From Across the Web
Process | Node.js v19.3.0 Documentation
js empties its event loop and has no additional work to schedule. Normally, the Node.js process will exit when there is no work...
Read more >javascript - If a DOM Element is removed, are its listeners also ...
The event handler is attached to body and not #someEl, naturally the handler shouldn't be removed as long as body is still here....
Read more >Handling Events | Smartface Docs - smartface/native
Events can be terminated easily. info. While the callbacks are deprecated, they will still be usable and will not be removed in any...
Read more >Chapter 11: Interim Controls - HUD
the component replacement may not be abatement, but may be conducted as an interim control. See. Appendix 6, regarding the applicable regulations.
Read more >4.8.8 The video element - HTML Standard - WhatWG
If a src attribute of a media element is set or changed, the user agent must invoke the media element's media element load...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The setZ() semantics changed in 11.13 since we now support 3D. Please use setZIndex() to set z-index. Let me know if it works
On Mon, 15 Feb 2021, 1:23 pm Hendrik Ebbers, notifications@github.com wrote:
yes, that solves the problem 😃