Closed (fixed)
Project:
Drupal Canvas
Version:
1.x-dev
Component:
AI
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Nov 2025 at 07:43 UTC
Updated:
4 Dec 2025 at 13:24 UTC
Jump to comment: Most recent
#3550350: Ability to pan around canvas editor by holding SPACE + drag added feature related to SPACE in Canvas, due to which Space stopped working in Canvas AI while adding prompt.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
jessebaker commentedComment #4
jessebaker commentedThe recent hotkey addition in [##3550350] to track the spacebar being pressed did indeed introduce an issue here.
It seems that useHotkeys will automatically detect if the user is focused into a form element or contenteditable but because is using shadowDom it doesn't recognise when the user is focused into the AI chat input. The event target is instead the element and not the contenteditable div inside it.
Comment #5
narendrarTested and it works as expected, Thanks.
Comment #7
tedbowComment #9
tedbow@jessebaker I recognise you efforts!🙇♂️