r/redesign•
BTMPL

Page title updated after closing closing comments

Bug :snoo_facepalm:

If you click to open a comment thread of a post, and then quickly close it before the title updates, it will replace the subreddit title with post title.

Someone forgot to cancel a promise in `componentWillUnmount` ;)

Steps to reproduce:

  1. go to home , or a subreddit
  2. click a post
  3. wait for the comment thread UI to appear but don't let it load
  4. click outside of the UI to close the comment thread
  5. give it a second or two
  6. title is updated

Posted Aug 23, 2018, 4:34 PM UTC

90

No comments yet

Nobody commented on this post, or the comments weren't captured.