TeachmanLab / MT-Java

Repo for parts of MindTrails study sites coded in the Java framework, such as the study assessment pages, menu, and progress pages
https://mindtrails.virginia.edu/calm/public/about
MIT License
7 stars 16 forks source link

Not returning to top page #157

Closed danfunk closed 5 years ago

danfunk commented 6 years ago

Bethany reported that in some cases a page will load in MindTrails and not return users to the top of the page, leaving them hanging mid-page.

danfunk commented 6 years ago

As we do a full refresh on each page load I'm not sure why users would land mid-page. I strongly suspect the reason for this is due to returning to the same page several times during testing. Back and forward browser buttons in modern browsers attempt to remember were on the page you were when you hit these buttons, and we likely don't want to circumvent this behavior. In a future Angular based implementation, we would take full control of this, but it's difficult to do in our current incarnation. So I would like to table this issue for now.