mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 19:00:12 +08:00

- Add an index to reply placeholder so we can scroll to it directly when replying. - Stop pretending that the currently broken `bottom` scroll functionality works, and explicitly call it `reply` scrolling to be clearer - Directly get target from state - Explicitly scroll to placeholder on reply - Clean up scrollToItem code a bit - Account for edge case where index is undefined when scrolling to post Co-authored-by: Wadim Kalmykov <36057469+w-4@users.noreply.github.com>