Skip to main content

Auto focus cancel button in delete modal

When the delete chat modal is open, it might be good to auto focus the Cancel button in the modal. Right now the focus remains in the context of the main page when the modal opens, so you have to tab through that first if you’re trying to get to the modal’s buttons

Status: Completed1 comment

Log in to comment and vote

Comments1

  • Magenta Peach

    I think this has the same reason:
    After selecting “Delete chat” the delete modal pops up. It looks like “Confirm” is the default button, which should be activated by hitting <Enter>. But doing so just closes the modal.

    The UI & Keyboard or the logic is wrong here.