Complex-Portal/complex-portal-view

Page jumps to Pathway Diagram on page load

Closed this issue ยท 3 comments

I'm submitting a ... (check one with "x")

[X] bug report => search existing issues for a similar problems/requests
[ ] feature request
[ ] support request => Please do not submit support request here, instead see: http://www.ebi.ac.uk/support/intact

Current behaviour
When opening a Complex that has a Pathway Diagram, the viewport is jumping to the Pathway Diagram once it is loading.

This is a bug that only seems to happen in Safari. At least it doesn't happen in chrome. I suspect that the Pathway Diagram is triggering some sort of event.

Expected behaviour
The page should not jump to any content of the page, without the users action.

Minimal reproduction of the problem with instructions
2018-11-20_15-08-09

Please tell us about your environment:
Mac OS using Safari Version 11.0.3

Just a few guidelines for how to write effective and good GitHub issues: HOW WE WRITE GITHUB ISSUES

Thanks, Max. This has been happening for ages but I can't find an existing Jira ticket so created one. Closing this as I have moved the issue.

Good to know to still have you as a user!

Haha! Once in a while I like to checkout what going on with the front-end development. ;-)

It might be worth talking to the guys in Reactome, as this might be an easy fix. When you open https://reactome.org/dev/diagram/js#API (on Safari) and scroll down very quickly, you'll see that it jumps back up again once the Diagram is loaded. This makes me believe that this is not a CP issue.