Forum Discussion
keyboard enter key for "submit message" action stopped working in copilot
I have a similar problem with my Surface Pro 7.
With just the USB keyboard plugged in, the Enter key does not submit the message.
If I use the Surface keyboard, Enter does submit correctly.
The really weird part is that when the Surface keyboard is connected, the Enter key on the USB keyboard works! THen as soon as I disconnect the Surface keyboard, the Enter key on the USB keyboard reverts to just adding a blank line and not submitting.
Infuriating!
Hi smb1973 helpful to hear that this is happening elsewhere and on a different device which as i'll note below also has the feature of a built-in keyboard that can be detached / disabled.
I've figured out the difference that can cause this to arise on my dell inspiron 7620 16" 2-in-1 laptop and not on my microsoft surface 7 laptop which also explains why you are seeing it on microsoft surface pro 7 2-in-1 device.
It appears to arise from whether or not a default built-in keyboard is detected or not. On my dell inspiron 2-in-1 if i open a new consumer copilot [ copilot.microsoft.com ] web app instance in browser tab while the device has keyboard in normal position, regardless of whether i am docked or not, then the new copilot web app browser tab / instance allows the built-in keyboard and desktop keyboard enter key to "submit message" vs adding a new line.
If i do the same thing with the keyboard folded 180deg or more back under the display, which causes it to be turned off similar to you disconnecting magnetic pogo pins connected keyboard on surface pro 7 2-in-1 device, the the enter key causes a new line to be created not the "submit message" behavior.
If i then activate the built-in keyboard again by folding it back around in-front of display, or you attaching magenetic pogo pins connected keyboard on surface pro 7 2-in-1 device, and retry interacting with that new copilot web app browser tab / instance now the enter key from built-in keyboard and docked keyboard is working. And something even more telling that that is some one time one time built-in keyboard sensing client side javascript is that i can now again deactivate the built-in keyboard and that copilot web app browser tab / instance will continue treating docked desktop keyboard enter key as "submit message".
I would think these repro details we have all shared here on this matter should provide everything a msft copilot web app development resource needs to repro this issue and do root cause analysis to arrive at a fix. All you need is any device with a detachable / or automatically disabled depending on where you have it positioned in order to experience this result. So any 2-in-1 device and specifically their own surface pro 2-in-1 devices.