discourse/app
David Taylor 890b06b10f
FIX: Ensure tag topic lists are not scrolled to an incorrect position (#12805)
When navigating from a 'discovery' topic list to a 'tags' topic list, the scroll position from the 'discovery' list was being used by the tag list. That meant the user would be taken to a random point in the list, and not scrolled to the top.

Non-tag topic lists were working fine because we only apply the 'cached' logic (and by extension, the saved scroll location) when the user clicks 'back' in the browser. In the code, this is referred to as `isPoppedState`.

This commit takes the `isPoppedState` logic from the regular topic lists, and applies it to the tag topic lists.
2021-04-22 16:09:20 -05:00
..
assets FIX: Ensure tag topic lists are not scrolled to an incorrect position (#12805) 2021-04-22 16:09:20 -05:00
controllers FIX: Allow finding non-lowercase tag groups (#12787) 2021-04-21 19:15:53 +02:00
helpers DEV: Upgrade Rails to 6.1.3.1 (#12688) 2021-04-21 12:36:32 +03:00
jobs FIX: Send a different message if export fails (#12799) 2021-04-22 20:21:31 +03:00
mailers FEATURE: Auto-activate users invited by email (#12675) 2021-04-14 12:15:56 +03:00
models FIX: when a flag is handled archive message for moderator group (#12798) 2021-04-22 15:53:44 +05:30
serializers FEATURE: Review every post using the review queue. (#12734) 2021-04-21 08:41:36 -03:00
services FEATURE: watch title for automatic tagging (#12782) 2021-04-21 18:16:25 +03:00
views FEATURE: Introduce theme/component QUnit tests (take 2) (#12661) 2021-04-12 15:02:58 +03:00