[Harmony Cast Dialog] Don't let the scroll position get reset by a model update |
|||
Issue descriptionEach time the sink list is about to be changed by a model update, we should store the scroll position, then restore that after the update, so that the position is retained.
,
Jul 13
,
Jul 20
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/fe9438c601fca79e2adc656162bf4457dca6a6fe commit fe9438c601fca79e2adc656162bf4457dca6a6fe Author: Takumi Fujimoto <takumif@chromium.org> Date: Fri Jul 20 18:17:28 2018 [Harmony Cast Dialog] Store and restore scroll position before and after update Instead of storing the scroll position only when the main button is clicked, store the position right before each sinks update, so that the scroll position is retained across updates. Bug: 852851 Change-Id: I0052e55eec1de532987dbc211ac04496b67b847d Reviewed-on: https://chromium-review.googlesource.com/1137345 Commit-Queue: Takumi Fujimoto <takumif@chromium.org> Reviewed-by: mark a. foltz <mfoltz@chromium.org> Cr-Commit-Position: refs/heads/master@{#576926} [modify] https://crrev.com/fe9438c601fca79e2adc656162bf4457dca6a6fe/chrome/browser/ui/views/media_router/cast_dialog_view.cc
,
Jul 23
|
|||
►
Sign in to add a comment |
|||
Comment 1 by mfo...@chromium.org
, Jun 25 2018