1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-12-02 00:38:27 +09:00
whippy-edition/app/javascript
unarist 4e35ce8269 Fix Esc hotkey behavior (#7199)
This fixes following cases which causes hotkey action accidentally:

* hitting Esc key to cancel text composition (mostly in CJK)

  Although events on cancelling composition are still heavily
  browser / input method dependent, but this implementation would
  covers current UI Events spec and some exceptions.

* hitting Esc key to close autocomplete suggestions

This PR changes to use keydown event instead of keyup event as well as other hotkeys.
2018-04-20 14:04:16 +02:00
..
fonts Redesign the landing page, mount public timeline on it (#4122) 2017-07-11 15:27:59 +02:00
images Focal points (#6520) 2018-02-22 00:35:46 +01:00
mastodon Fix Esc hotkey behavior (#7199) 2018-04-20 14:04:16 +02:00
packs Improve report layout (#7188) 2018-04-20 02:28:48 +02:00
styles Improve report layout (#7188) 2018-04-20 02:28:48 +02:00