FEATURE: Remember scroll position in private message lists (PR #8212)

Still need to resolve the issue of adding new PMs to the cached list, if you user is looking at a single PM. When he/she navigates back to the PM list, it will not be updated if more messages came in, and also no button to show the new PM.

GitHub

You’ve signed the CLA, markvanlan. Thank you! This pull request is ready for review.

The title of this pull request changed from “FEATURE: remember position in private message lists” to "FEATURE: Remember scroll position in private message lists

Curious why you changed this? It should be the same.

We should use let or const, not var which has odd scoping issues.

  scrollToLastPosition() {

Another var here

      if (lastTopicList && lastTopicList.filter === filter) {
        return this.store.findFiltered("topicList", { filter });