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

Issue 9088043: Resolves views rendering in partly scrolled state

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years ago by j.c.sackett
Modified:
11 years ago
Reviewers:
rharding, mp+161894, jeff.pihach
Visibility:
Public.

Description

Resolves views rendering in partly scrolled state This branch resolves two bugs wherein a view rendered scrolled partway down. This appears to be an issue with browser behavior rather than JS, as investigation showed no problem when debuggers were used to check state as the views render. To get around that, this branch simply grabs the top-most visible element of the two views and ensures they're scrolled into view. https://code.launchpad.net/~jcsackett/juju-gui/scroll-to-top-on-change/+merge/161894 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 3

Patch Set 2 : Resolves views rendering in partly scrolled state #

Patch Set 3 : Resolves views rendering in partly scrolled state #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -3 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M app/subapps/browser/views/charm.js View 1 2 3 chunks +7 lines, -2 lines 0 comments Download
M app/subapps/browser/views/editorial.js View 1 chunk +1 line, -1 line 0 comments Download
M app/subapps/browser/views/search.js View 1 2 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 9
j.c.sackett
Please take a look.
11 years ago (2013-05-01 17:42:30 UTC) #1
j.c.sackett
https://codereview.appspot.com/9088043/diff/1/app/subapps/browser/views/editorial.js File app/subapps/browser/views/editorial.js (right): https://codereview.appspot.com/9088043/diff/1/app/subapps/browser/views/editorial.js#newcode99 app/subapps/browser/views/editorial.js:99: this._apiFailure(data, request, 'Failed to load editorial content.'); This was ...
11 years ago (2013-05-01 17:43:32 UTC) #2
rharding
LGTM sans the one request to fix renderTo vs work around it assuming that was ...
11 years ago (2013-05-01 17:50:06 UTC) #3
j.c.sackett
https://codereview.appspot.com/9088043/diff/1/app/subapps/browser/views/charm.js File app/subapps/browser/views/charm.js (right): https://codereview.appspot.com/9088043/diff/1/app/subapps/browser/views/charm.js#newcode465 app/subapps/browser/views/charm.js:465: var viewData = Y.one('.bws-view-data'); On 2013/05/01 17:50:06, rharding wrote: ...
11 years ago (2013-05-01 18:49:23 UTC) #4
rharding
On 2013/05/01 18:49:23, j.c.sackett wrote: > https://codereview.appspot.com/9088043/diff/1/app/subapps/browser/views/charm.js > File app/subapps/browser/views/charm.js (right): > > https://codereview.appspot.com/9088043/diff/1/app/subapps/browser/views/charm.js#newcode465 > ...
11 years ago (2013-05-01 18:49:54 UTC) #5
j.c.sackett
Please take a look.
11 years ago (2013-05-01 18:51:33 UTC) #6
jeff.pihach
LGTM - however maybe you could put an XXX around those scrollto's with a small ...
11 years ago (2013-05-01 19:12:40 UTC) #7
j.c.sackett
On 2013/05/01 19:12:40, jeff.pihach wrote: > LGTM - however maybe you could put an XXX ...
11 years ago (2013-05-01 19:25:53 UTC) #8
j.c.sackett
11 years ago (2013-05-01 19:31:12 UTC) #9
*** Submitted:

Resolves views rendering in partly scrolled state

This branch resolves two bugs wherein a view rendered scrolled partway down.
This appears to be an issue with browser behavior rather than JS, as
investigation showed no problem when debuggers were used to check state as the
views render.

To get around that, this branch simply grabs the top-most visible element of
the two views and ensures they're scrolled into view.

R=rharding, jeff.pihach
CC=
https://codereview.appspot.com/9088043
Sign in to reply to this message.

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