# Flagging sometimes loses scroll position

**URL:** <https://meta.discourse.org/t/flagging-sometimes-loses-scroll-position/98895>\
**Category:** Bug\
**Created:** [October 6, 2018, 5:38pm UTC](https://meta.discourse.org/t/flagging-sometimes-loses-scroll-position/98895 "2018-10-06T17:38:01Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Woodcock](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/woodcock/32/113539_2.png) [@Woodcock](https://meta.discourse.org/u/Woodcock)\
**Post date:** [October 6, 2018, 5:38pm UTC](https://meta.discourse.org/t/flagging-sometimes-loses-scroll-position/98895/1 "2018-10-06T17:38:01Z")

</div>

Flagging a message occasionally causes the browser to lose scroll position – it jumps back XX number of messages.I don’t have a rock solid pattern to reproduce this, but it would seem to happen most on an iPhone (mine is 6s with iOS 12), longer topics (dozens or 100+ messages) and flagging with a custom reason.

This issue has been around a long time (longer than I have used Discourse). I finally decided to report as iOS 12 or Discourse 2.1 upgrade did not seem to make an improvement to this. Not a huge issue of course, as this only impacts busy forums and active flaggers, but kinda weird anyway.

---

_[View the full topic](https://meta.discourse.org/t/flagging-sometimes-loses-scroll-position/98895)._
