Refit the iron-dropdown when items or input changes.
If the dropdown is opened when there are initially 0 items and new items are added while it is open, the dropdown doesn't expand to accomodate the new items. This manifests in the SMB share dialog where share discovery is happening in the background. If the user opens the dropdown while the discovery is in progress, the dropdown will not be expanded when share are discovered. The user needs to close and re-open the dropdown to see the discovered shares. BUG=None Change-Id: I71c85466145301fd25366138711c43e478457210 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1627849Reviewed-by:Steven Bennetts <stevenjb@chromium.org> Reviewed-by:
Bailey Berro <baileyberro@chromium.org> Commit-Queue: Anand Mistry <amistry@chromium.org> Cr-Commit-Position: refs/heads/master@{#664065}
Showing
Please register or sign in to comment