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

Issue 12226110: Fixed unexpected scroll when removing profiles in settings. (Closed)

Created:
7 years, 10 months ago by mtomasz
Modified:
7 years, 10 months ago
Reviewers:
James Hawkins
CC:
chromium-reviews, dbeam+watch-options_chromium.org, arv+watch_chromium.org
Visibility:
Public.

Description

Fixed unexpected scroll when removing profiles in settings. The problem was caused by auto focusing to the first focusable control when switching pages. To show an overlay, a owning page is shown, very often to the same current one, what is causing setting focus to the first focusable item, and scrolling to the top just before showing an overlay. This patch addresses this issue by not changing focus if the current focused control is on the active page/overlay. TEST=Follow the bug's repro steps. BUG=174608 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182133

Patch Set 1 #

Patch Set 2 : Simplified. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M chrome/browser/resources/options/options_page.js View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
mtomasz
@jhawkins: PTAL.
7 years, 10 months ago (2013-02-12 11:07:14 UTC) #1
James Hawkins
lgtm
7 years, 10 months ago (2013-02-12 18:36:25 UTC) #2
commit-bot: I haz the power
7 years, 10 months ago (2013-02-13 02:12:03 UTC) #3

Powered by Google App Engine
This is Rietveld 408576698