Closed Bug 1710964 Opened 3 years ago Closed 3 years ago

Day and week views scroll to the top when switching tabs

Categories

(Calendar :: Calendar Frontend, defect)

defect

Tracking

(thunderbird_esr78 unaffected)

RESOLVED FIXED
90 Branch
Tracking Status
thunderbird_esr78 --- unaffected

People

(Reporter: darktrojan, Assigned: darktrojan)

References

(Regression)

Details

Attachments

(1 file)

STR:
Open calendar week view.
Scroll to any time except midnight.
Switch tabs and back again.
Midnight!

Not sure what caused this to break, it's fine in 78 AFAICT. Setting visibility: collapse on the whole calendar tab makes the scroll box height 0 but the scroll position isn't restored when visible again.

I think I can get away with using display: none instead of visibility: collapse.

Bah! It's not the collapsing that's the problem, it's that I broke the restoration of the scroll position.

Regressed by: 1684581
Target Milestone: --- → 90 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/4eec1775bf3b
Restore day/week view scroll position on tab switch. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: