Ghost/ghost/admin/lib/koenig-editor/addon/components/koenig-card-image
Kevin Ansfield 9223d0237c Added scroll-into-view behavior when opening gif selector
refs https://github.com/TryGhost/Team/issues/1225

When the gif selector is activated we want to scroll as much of the picker into view as possible.

- updated `scroll-into-view` modifier so it can work on bounding rects as well as offsets for those situations where a scroll parent is not the offset parent
  - only implemented "off bottom" behavior for now as that's all we need for this use-case
  - if the scroll adjustment would mean the top is cut off we readjust so that the top of the element is always visible
2021-11-30 12:51:56 +00:00
..
selector-tenor Added scroll-into-view behavior for highlighted gifs 2021-11-29 19:33:35 +00:00
selector-tenor.hbs Added scroll-into-view behavior when opening gif selector 2021-11-30 12:51:56 +00:00
selector-tenor.js Adjusted keyboard nav in gif selector to reduce vertical scroll jumps 2021-11-30 10:52:47 +00:00