diff options
author | jenkins-bot <jenkins-bot@gerrit.wikimedia.org> | 2021-12-15 00:13:37 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@wikimedia.org> | 2021-12-15 00:13:37 +0000 |
commit | a3a00fb8876d5db73239d69e4409c1bd8bc0e40f (patch) | |
tree | f5ca5ef5022ea1c64827c11cc64c1438348b7260 | |
parent | 49d1625d13d54bee8e82d9bf247bb48523276bef (diff) |
Update git submodules
* Update extensions/MediaSearch from branch 'wmf/1.38.0-wmf.13'
to 04fdff972f96a567a075f10791f2f7fe451d5e49
- Merge "Don't attempt to scroll to a non-existing result" into wmf/1.38.0-wmf.13
- Don't attempt to scroll to a non-existing result
Adds a guard clause to the SearchResults component's
scrollIntoViewIfNeeded method. When the filters change while
the quickview is open, it is possible for the original result
which triggered the quickview to no longer be present on the page.
This change simply adds a guard clause to check for this scenario
before attempting to scroll back to a result on the page. If the
original result ref is not found, nothing else needs to be done.
Change-Id: Icea7dc12dd579dfb4ad98b0e00ddae3155c36c40
(cherry picked from commit 6a1201b4f02007157239d6877896fd04be0696b4)
m--------- | extensions/MediaSearch | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/extensions/MediaSearch b/extensions/MediaSearch -Subproject 90c67df52b3df5c5cba16128c47f7f7a0b72cc3 +Subproject 04fdff972f96a567a075f10791f2f7fe451d5e4 |