modifierKeyPressed class is not removed if another key is held while control is released

Created on 6 August 2025, 2 days ago

Overview

If control is pressed while hovering over the canvasPane, the "modifierKeyPressed" class is added to the element. If control is released without any other interactions, that class is properly removed. If another key is pressed and held after control is pressed and while/after it is being released, the class is not removed.

The issue is easy to spot visually, as the cursor stays as the magnifying glass. E.g.

  1. Control pressed
  2. Shift pressed
  3. Control released
  4. Shift released

I believe this behavior stems from /ui/src/features/canvas/Canvas.tsx, but I lack the JSX/TSX knowledge to diagnose.

🐛 Bug report
Status

Active

Version

1.0

Component

… to be triaged

Created by

🇺🇸United States FrankieD3

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024