Description
Consider the following scenario:
There is a page with multiple sections and another page, that is a redirect to that page including a specific section in the target page. Now a third page links to the second page (which is a redirect to the third page). Now a user clicks the link in the first page.
This bug was spotted on a derivative project and there is a fix for it: http://gerrit.go2tech.de/795
Steps to reproduce
- (I don't know, how long this page is there with this content, but you can test the behavior with https://test.wikipedia.org/wiki/Test clicking the link TestFragment2)
- Create a page with multiple sections
- Create a second page which is a redirect to the first page (including a section, so add a fragment to the redirect "#Fragment")
- Create a third page and add a link to the second page
- Click the link in the third page
Expected results
If a user clicks the third page, he should be redirected to the target page and the app should automatically scroll to the fragment (like the browser does, too).
Actual results
The page is loaded without to scroll to the target section.
Environments observed
App version: 5.0.1, doesn't matter
Android OS versions: latest master, doesn't matter
Device model: HTC One M 9 (& emulator), but doesn't matter
Device language: en/de (doesn't matter)