Review main Merged

64875[BUGFIX] Restructure some event listeners

Andreas Kienast CR +2 V +2 Normal +60 −75 updated 07/30/20, 20:54

Commit message

To improve the event handling in the browsers, events that don't need to
listen to `document` have been restructured to listen either directly on
an element or to their respective nearest common element instead.

To increase UX, an event listener has been removed from Topbar which
closes the whole overlay when closing a sub menu in mobile view.
Another, redundant event listener has been removed as well.

As a drive-by bugfix the mouse cursor position used for context menus is
now fetched and stored every 50ms only. In a later iteration this
behavior may change completely.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 8