DescriptionFixed 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. #Messages
Total messages: 3 (0 generated)
|