Ghost/ghost/admin/lib
Kevin Ansfield ddc799cdc1 Fixed selecting emoji in callout card deselecting card
no issue

emoji-button uses focus-trap (https://www.npmjs.com/package/focus-trap) to gain/keep focus and allow clicks on the background to close the picker. Unfortunately when deactivating the focus-trap it attempts to return focus but it ends up putting the cursor back at the beginning of the post, deselecting the card and causing scroll jump.

- changed the `<div>` we were using as a button to trigger the emoji picker to `<button>` so that it's focusable meaning `focus-trap` returns focus there when the picker closes keeping focus inside the card
2021-11-23 00:30:21 +00:00
..
asset-delivery Bumped dependencies (#1108) 2019-03-05 17:34:00 +00:00
koenig-editor Fixed selecting emoji in callout card deselecting card 2021-11-23 00:30:21 +00:00