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

Unified Diff: chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.html

Issue 2627373002: MD Settings: Save and restore scroll position in iron-list (Closed)
Patch Set: Use scrollTop Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.html
diff --git a/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.html b/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.html
index 80a33f7eba19ec277a4dd503e83c7642b7d62608..12d28ffbb2567f83293411606ffa1bfd27d201b2 100644
--- a/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.html
+++ b/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.html
@@ -83,13 +83,14 @@
<div id="dialogDeviceList"
hidden$="[[!isDialogType_(dialogId, 'addDevice')]]"
class="layout vertical flex start self-stretch">
- <span class="no-devices" hidden$="[[haveUnpaired_(deviceList.*)]]">
+ <span class="no-devices"
+ hidden$="[[haveUnpaired_(unpairedDeviceList_)]]">
$i18n{bluetoothNoDevices}
</span>
<div id="container" class="layout vertical flex self-stretch"
scrollable>
- <iron-list items="[[getUnpaired_(deviceList.*)]]"
- selection-enabled selected-item="{{selectedItem}}"
+ <iron-list id="devices" items="[[unpairedDeviceList_]]"
+ selection-enabled selected-item="{{selectedItem_}}"
scroll-target="container">
<template>
<bluetooth-device-list-item device="[[item]]"

Powered by Google App Engine
This is Rietveld 408576698