Bug #4187

Scroll jumps on screen to an incorrect position when using local anchors (location hash)

Added by Anonymous over 10 years ago. Updated over 6 years ago.

Status:NewStart date:
Priority:MediumDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Google Code Legacy ID:atom-2239 Tested version:
Sponsored: Requires documentation:

Description

Google user: jessica%...@gtempaccount.com

To reproduce this error: ========================
1)In Trillium theme.
2)Create archival description. Save. Select Duplicate Button.

Resulting error: ================
New archival description edit template appears but jumps/adjusts and the title proper data entry element is hidden. User must scroll up to reveal title proper data entry element and input data.

Expected result: ================
no jump/adjust. screen opens at top of archival description edit template.

[g] Legacy categories: Information object, Theming

Issue2239screenshot.doc (188 KB) Courtney Mumma, 12/01/2012 05:07 AM

History

#1 Updated by Anonymous over 10 years ago

Tried to recreate this problem using Chrome and Firefox 9. It was reported by a user with Firefox 10.
I did notice that when you open a new archival description in the edit template the screen jumps, which obscures the heading of the description but not any data element fields.

#2 Updated by Courtney Mumma over 10 years ago

In Firefox 10.0.2 browser, edit screen opens to this (see attached screenshot)-- you have to scroll up to get to the title.

#3 Updated by Jesús García Crespo about 10 years ago

The problem is that Trillium added a static header at the top (search bar, menu, etc...), this adds a vertical offset that it is not being considered by the browser when the window is scrolled with local links (window.location.hash). I've tried to fire an event when the page is loaded (using different events, window.load, document.ready, etc...) and fix the vertical scroll position manually, but it is executed too late so the result is not very good. So far I don't have a good solution, :(

#4 Updated by Jesús García Crespo about 10 years ago

  • Subject set to Scroll jumps on screen to an incorrect position when using local anchors (location hash)

#5 Updated by Anonymous about 10 years ago

  • Target version changed from Release 1.2.1 to Release 1.3

[g] Labels added: Milestone-Release-1.3
[g] Labels removed: Milestone-Release-1.2.1

#6 Updated by Jesús García Crespo over 9 years ago

  • Priority changed from High to Medium

#7 Updated by Jesús García Crespo over 6 years ago

  • Assignee deleted (Jesús García Crespo)

Also available in: Atom PDF