MDL-65896 core: fix emoji picker IE11 support
This commit is contained in:
committed by
Jun Pataleta
parent
b9b10b900d
commit
628b4ca262
Vendored
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -430,7 +430,7 @@ const renderRows = async (rowContainer, currentRows, nextRows) => {
|
||||
toKeep.splice(nextRowIndex, 0, toKeep);
|
||||
} else {
|
||||
toKeep.push(rowData);
|
||||
rowContainer.append(row);
|
||||
rowContainer.appendChild(row);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -688,7 +688,7 @@ const getHandleSearch = (searchInput, searchResultsContainer, emojiContainer) =>
|
||||
const rowContainer = searchResultsContainer.querySelector(SELECTORS.ROW_CONTAINER);
|
||||
// Build a render function for the search results.
|
||||
const renderSearchResultsAtPosition = generateRenderRowsAtPositionFunction(rowContainer);
|
||||
searchResultsContainer.append(rowContainer);
|
||||
searchResultsContainer.appendChild(rowContainer);
|
||||
|
||||
return async () => {
|
||||
const searchTerm = searchInput.value.toLowerCase();
|
||||
|
||||
Reference in New Issue
Block a user