Ghost/ghost/admin/lib/koenig-editor
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
..
addon Fixed selecting emoji in callout card deselecting card 2021-11-23 00:30:21 +00:00
app Added first pass of product card 2021-11-22 12:38:46 +01:00
docs/specs Koenig reboot - rich text (#952) 2018-01-30 10:01:07 +00:00
public/icons/koenig Replaced GIF icon 2021-11-19 10:32:43 +01:00
index.js Koenig reboot - rich text (#952) 2018-01-30 10:01:07 +00:00
package.json Added an emoji picker for the callout card 2021-11-15 14:19:20 +01:00