mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-30 22:34:01 -05:00
1fb417b6a3
closes https://linear.app/ghost/issue/PLG-273 - removed previous fix which only worked on last comment but not last reply - keeping track of last comment/reply spread a lot of domain knowledge around for a UI-only concern and wouldn't scale if we have other dropdowns in the future - added `useOutOfViewportClasses` hook - accepts an object with top/bottom/right/left containing default and outOfViewPort classes - applies the correct classes using the DOM rather than React so that we avoid re-renders and associated flickering or broken rendering |
||
---|---|---|
.. | ||
admin-x-activitypub | ||
admin-x-demo | ||
admin-x-design-system | ||
admin-x-framework | ||
admin-x-settings | ||
announcement-bar | ||
comments-ui | ||
portal | ||
signup-form | ||
sodo-search |