Update settings-dropdown-menu to observe array mutations of menuOptions
Currently changes to menuOptions via array mutations do not cause shouldDisableMenu_() to be called again. In particular, this causes and issue with the resolution dropdown for CrOS Display Settings since we rebuild the list of resolutions by assigning an empty array and then calling the 'push' array mutation. Fixed: 1105149 Change-Id: I9e275454254af56ea3aab5f83176a51cd447d0c9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2327790 Commit-Queue: Bailey Berro <baileyberro@chromium.org> Auto-Submit: Bailey Berro <baileyberro@chromium.org> Reviewed-by:Kyle Horimoto <khorimoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#793154}
Showing
Please register or sign in to comment