Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(135)

Issue 12871046: Fixes #1207041 environment view shifts in IE

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 8 months ago by rharding
Modified:
10 years, 8 months ago
Reviewers:
j.c.sackett, benji, mp+180341
Visibility:
Public.

Description

Fixes #1207041 environment view shifts in IE Two changes, these are QA only. - Drive by, the feedback tab should overlay the zoom slider when you hover over it. Upped its z-index so it's over the zoom slider when hovered. - IE would shift the whole environment when the charm details did the scrollIntoView call. This is done so that if you scroll down on one charm, and then click a second charm in the results list on the left, you want to reset the scroll position. It turns out IE hates scrollIntoView and ran into some hints in the question: http://stackoverflow.com/questions/11039885/scrollintoview-causing-the-whole-page-to-move This changes the scrollIntoView into a hard coded scrollTop which works to reset the position and works in all browsers in QA. https://code.launchpad.net/~rharding/juju-gui/ie-moving-environment/+merge/180341 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixes #1207041 environment view shifts in IE #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -2 lines) Patch
[revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
app/subapps/browser/views/charm.js View 1 chunk +4 lines, -1 line 0 comments Download
app/subapps/browser/views/search.js View 1 1 chunk +1 line, -1 line 0 comments Download
lib/views/stylesheet.less View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 7
rharding
Please take a look.
10 years, 8 months ago (2013-08-15 13:28:51 UTC) #1
benji
LGTM with a couple of small comments. https://codereview.appspot.com/12871046/diff/1/app/subapps/browser/views/charm.js File app/subapps/browser/views/charm.js (right): https://codereview.appspot.com/12871046/diff/1/app/subapps/browser/views/charm.js#newcode750 app/subapps/browser/views/charm.js:750: renderTo._node.scrollTop = ...
10 years, 8 months ago (2013-08-15 13:32:33 UTC) #2
benji
LGTM with a couple of small comments.
10 years, 8 months ago (2013-08-15 13:32:35 UTC) #3
rharding
On 2013/08/15 13:32:33, benji wrote: > LGTM with a couple of small comments. > > ...
10 years, 8 months ago (2013-08-15 13:37:39 UTC) #4
benji
On 2013/08/15 13:37:39, rharding wrote: > On 2013/08/15 13:32:33, benji wrote: > > I guess ...
10 years, 8 months ago (2013-08-15 13:46:27 UTC) #5
j.c.sackett
LGTM. This QAs on IE10 for me, and nicely doesn't break anything on FF on ...
10 years, 8 months ago (2013-08-15 13:59:33 UTC) #6
rharding
10 years, 8 months ago (2013-08-15 14:16:42 UTC) #7
*** Submitted:

Fixes #1207041 environment view shifts in IE

Two changes, these are QA only.

- Drive by, the feedback tab should overlay the zoom slider when you hover
over it. Upped its z-index so it's over the zoom slider when hovered.
- IE would shift the whole environment when the charm details did the
scrollIntoView call. This is done so that if you scroll down on one charm, and
then click a second charm in the results list on the left, you want to reset
the scroll position. It turns out IE hates scrollIntoView and ran into some
hints in the question:
http://stackoverflow.com/questions/11039885/scrollintoview-causing-the-whole-...

This changes the scrollIntoView into a hard coded scrollTop which works to
reset the position and works in all browsers in QA.

R=benji, j.c.sackett
CC=
https://codereview.appspot.com/12871046
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b