text: Title: Up and down arrow keys do not work in chat input
  Body: <!-- Welcome! Thank you for contributing. These HTML comments will not render in the issue.
  
  Before creating a new issue:
  * Search for relevant issues
  * Follow the issue reporting guidelines:
  https://jupyterlab.readthedocs.io/en/latest/getting_started/issue.html
  -->
  
  ## Description
  
  The up and down arrow keys cannot be used to navigate the chat input. The left and right arrow keys seem to work, but not up and down.
  
  I've encountered this bug in both v2.19.0 and v2.20.0.
  
  ## Expected behavior
  
  The up and down arrow keys should work for keyboard accessibility.
  
  