mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 15:24:05 +08:00
9302187ca4
Prior to this fix we were using `topic.current_post_number` which is coming from the server side and represents the initial topic scroll position when initially rendered to the end user. However, this value is not dynamic and is not updated when the user scrolls, `topic.currentPost` is the dynamic equivalent. No test as there are very low chances a test like this one based on scroll position, will be reliable over time. |
||
---|---|---|
.. | ||
discourse | ||
lib/discourse-markdown | ||
select-kit/addons/components |