Make disabled elements not eat up mouse events #74

Closed
thepaperpilot wants to merge 1 commit from thepaperpilot:fix/disabled-mouse-events into main
Collaborator

Browsers make disabled elements eat events rather than let them bubble up
This allows containers with disabled elements to have listeners still
(Used specifically so after the board rewrite, purchased upgrades can still be dragged)

Browsers make disabled elements eat events rather than let them bubble up This allows containers with disabled elements to have listeners still (Used specifically so after the board rewrite, purchased upgrades can still be dragged)
thepaperpilot added 1 commit 2024-03-04 03:56:04 +00:00
Make disabled elements not eat up mouse events
All checks were successful
Run Tests / test (pull_request) Successful in 1m55s
e15eb88a98
Browsers make disabled elements eat events rather than let them bubble up
This allows containers with disabled elements to have listeners still
(Used specifically so after the board rewrite, purchased upgrades can still be dragged)
thepaperpilot added a new dependency 2024-03-04 03:56:18 +00:00
escapee approved these changes 2024-03-06 01:08:01 +00:00
thepaperpilot closed this pull request 2024-03-07 13:13:13 +00:00
All checks were successful
Run Tests / test (pull_request) Successful in 1m55s
Required
Details

Pull request closed

Sign in to join this conversation.
No description provided.