tweb icon indicating copy to clipboard operation
tweb copied to clipboard

[BUG] ESC button doesn't close current chat

Open mahenzon opened this issue 3 years ago • 3 comments

Describe the bug Chats are not closed when ESC is pressed. But the URL path gets updated, chat ID is removed from the address bar

To Reproduce Steps to reproduce the behavior:

  1. Go to https://web.telegram.org/k/
  2. Open any chat
  3. Hit ESC
  4. Chat is not closed
  5. Next ESC press opens Search, so the app thinks that the chat is closed

Expected behavior Chat is closed on ESC press

Desktop:

  • OS: macOS
  • Browser Chrome
  • Version 1.5.0 (243)

Additional context back is triggered here, but chat doesn't get closed 😞

mahenzon avatar Sep 27 '22 15:09 mahenzon

I just tested this exact use case and it works like a charm. What version of macOS and Chrome do you use?

fromaline avatar Sep 30 '22 10:09 fromaline

macOS Monterey 12.3.1 (21E258)

Checked in Chrome versions: Version 104.0.5112.101 (Official Build) (arm64) Version 105.0.5195.125 (Official Build) (arm64)

mahenzon avatar Sep 30 '22 11:09 mahenzon

Ok, I'll re-check this issue after updating to Monterey.

fromaline avatar Sep 30 '22 12:09 fromaline