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
Closing an expanded chart with Esc shows a blue frame. Escape dismissal also differs from the normal attachment viewer: attachments close on keydown, while the chart modal waits until keyup.
Reported by @situchan during review of #97698. The keydown/keyup inconsistency was explicitly identified as pre-existing and deferred to a separate issue.
Action Performed
Open a chat containing an inline chart.
Click the expand button to open the full-screen chart modal.
Press and hold Esc, then release it.
Observe when the modal closes and the blue frame shown on dismissal.
Open a normal image attachment and repeat the same Escape interaction to compare.
Expected Result
The expanded chart closes immediately on Esc keydown, matching the normal attachment viewer.
Closing the chart with Esc does not introduce the blue-frame artifact shown in the recording.
Actual Result
The chart modal closes only when Esc is released (keyup).
A blue frame appears when closing the modal with Esc.
Normal attachments close immediately on Esc keydown.
Problem
Closing an expanded chart with Esc shows a blue frame. Escape dismissal also differs from the normal attachment viewer: attachments close on keydown, while the chart modal waits until keyup.
Reported by @situchan during review of #97698. The keydown/keyup inconsistency was explicitly identified as pre-existing and deferred to a separate issue.
Action Performed
Expected Result
Actual Result
Context
Screenshots/Videos
Screen.Recording.2026-09-15.at.10.37.09.PM.mov
Issue Owner
Current Issue Owner: @abbasifaizan70