Description[Files.app] Refile a timing of doing selectBestMatchItem().
Previously, selectBestMatchItem() is called in the 'permuted'/'changed' handlers of the data model. But in this timing, although we can make sure that the data model is updated, but the list elements in the list may not be updated (it depends on the order of registration of event listeners). Then we can't select the target item since the target item may not be created yet.
This patch delays it just after the updating of elements in list.
BUG=280155
TEST=manual
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221246
Patch Set 1 #Patch Set 2 : . #
Total comments: 2
Patch Set 3 : addressed comment #
Total comments: 2
Patch Set 4 : addressed comment #
Total comments: 2
Patch Set 5 : addressed comment #Messages
Total messages: 10 (0 generated)
|