mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 03:53:51 +08:00
fe1034e89c
Why this change? When setting up the `IntersectionObserver`, we did not account for the top margin and padding causing no intersection event to fire when the last tag is load into view. This commits fixes the problem by setting a bottom margin using the `rootMargin` option when setting up the `IntersectionObserver`. This commit also improves the test coverage surrounding the loading of more tags. |
||
---|---|---|
.. | ||
components | ||
modals | ||
pages | ||
cdp.rb |