Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(725)

Issue 1962643005: [Media Router WebUI] Fix search input positioning when list scrolls. (Closed)

Created:
4 years, 7 months ago by btolsch
Modified:
4 years, 7 months ago
Reviewers:
apacible
CC:
chromium-reviews, media-router+watch_chromium.org, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Media Router WebUI] Fix search input positioning when list scrolls. This change prevents the search input from overlapping the sink list when the sink list is larger than the dialog max height and has to scroll. BUG=609351 R=apacible@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/b367130a6de458010536cbf4722d36bb61cd1e26 Cr-Commit-Position: refs/heads/master@{#394177}

Patch Set 1 #

Patch Set 2 : Removed last hard-coded paddings #

Total comments: 8

Patch Set 3 : Responding to comments and fix affected tests. #

Patch Set 4 : Set search class with binding #

Patch Set 5 : CSS attribute instead of JS binding #

Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -63 lines) Patch
M chrome/browser/resources/media_router/elements/media_router_container/media_router_container.css View 1 2 3 4 2 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js View 1 2 3 4 17 chunks +162 lines, -49 lines 0 comments Download
M chrome/test/data/webui/media_router/media_router_container_search_tests.js View 1 2 12 chunks +13 lines, -13 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
btolsch
Screenshots/video forthcoming, PTAL.
4 years, 7 months ago (2016-05-10 17:36:16 UTC) #2
btolsch
Non-blocking issue: https://screenshot.googleplex.com/Y1vfihstXic Scrolling sink list: https://screenshot.googleplex.com/nn76rCZyTqi
4 years, 7 months ago (2016-05-10 18:26:49 UTC) #3
apacible
Saw the demo video last week; looks good! https://codereview.chromium.org/1962643005/diff/20001/chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js File chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js (right): https://codereview.chromium.org/1962643005/diff/20001/chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js#newcode1117 chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js:1117: getSearchPaddingBottom_: ...
4 years, 7 months ago (2016-05-16 18:33:17 UTC) #4
btolsch
For some reason the latest changes uncovered a bug where we are using setTimeout and ...
4 years, 7 months ago (2016-05-16 22:09:13 UTC) #5
apacible
https://codereview.chromium.org/1962643005/diff/20001/chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js File chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js (right): https://codereview.chromium.org/1962643005/diff/20001/chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js#newcode1117 chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js:1117: getSearchPaddingBottom_: function(usingBottomPadding) { On 2016/05/16 22:09:13, btolsch wrote: > ...
4 years, 7 months ago (2016-05-17 01:05:34 UTC) #6
btolsch
I know you linked to a CSS attribute approach but it seemed strange to effectively ...
4 years, 7 months ago (2016-05-17 02:43:47 UTC) #7
apacible
lgtm
4 years, 7 months ago (2016-05-17 14:29:48 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1962643005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1962643005/80001
4 years, 7 months ago (2016-05-17 17:35:20 UTC) #10
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 7 months ago (2016-05-17 18:54:45 UTC) #11
commit-bot: I haz the power
4 years, 7 months ago (2016-05-17 18:56:25 UTC) #13
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/b367130a6de458010536cbf4722d36bb61cd1e26
Cr-Commit-Position: refs/heads/master@{#394177}

Powered by Google App Engine
This is Rietveld 408576698