TF-1487 Upgrade latest dependencies version for core module

(cherry picked from commit 717b72de65503ee65c9979db9a5b319bfbb11a48)
This commit is contained in:
dab246
2023-02-23 21:44:17 +07:00
committed by Dat Vu
parent 9609e7ee9c
commit 9778a9876a
9 changed files with 330 additions and 290 deletions
@@ -52,11 +52,11 @@ class HtmlUtils {
if (maxOffset === scrollLeftRounded ||
maxOffset === (scrollLeftRounded + 1) ||
maxOffset === (scrollLeftRounded - 1)) {
window.$scrollEventJSChannelName.postMessage('${HtmlEventAction.scrollRightEndAction}');
window.flutter_inappwebview.callHandler('$scrollEventJSChannelName', '${HtmlEventAction.scrollRightEndAction}');
}
} else {
if (scrollLeftRounded === 0) {
window.$scrollEventJSChannelName.postMessage('${HtmlEventAction.scrollLeftEndAction}');
window.flutter_inappwebview.callHandler('$scrollEventJSChannelName', '${HtmlEventAction.scrollLeftEndAction}');
}
}
}