mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
9223d0237c
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 |
||
---|---|---|
.. | ||
autofocus.js | ||
movable.js | ||
scroll-into-view.js | ||
scroll-to.js | ||
scroll-top.js |