We're using a locally installed version of JIRA version 8.3.4. The users wanted a way to return to the top of the page easily, so we installed the 'Back To Top' plugin.
This seems to work in quite a few pages, but seems not to on the issues page.
Having a look at the HTML and javascript, it looks like for this page the window does not scroll, but a div within it does; and so I think the following script might need to be added:
AJS.$('.issue-view').scroll(function(){
var scrollValue = AJS.$('.issue-view').scrollTop().valueOf();
TOPPER.handleScroll('.issue-view',scrollValue);
});
in the init.
Does this seem like it might resolve the issue? Or could it cause issues elsewhere? And, is it easy to get this patched in - or maybe a new release with this?
Thanks,
Matt
Pure JS solution:
AJS.$("#main > div").animate({scrollTop : 0}, 300);
AJS.$("#main > div > div > div > div > div > div > div.aui-item.detail-panel").animate({scrollTop : 0}, 300);
AJS.$("#main > div > div.navigator-group > div > div > div > div > div > div.aui-item.detail-panel").animate({scrollTop : 0}, 300);
Not only it is a Div element that being scrolled, but also different Divs depending on page.
The first line - main issue view screen.
2: Issue list within project context
3: Issue navigator
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.