WKWebview stuck and unresponsive, ios15 and above

WKWebview has a greater chance of getting stuck when loading a web page, sometimes when sliding the page or zoom in and out, sometimes when it is initially loaded, same on safari.

url for test: "http://officetest.palmmob.com/palmmob3_web/doceditorv3.php?type=mobile&fileUrl=http://3.palmmob.com/palmmob3/office_templates/172.docx&user=964821&channel=1&action=edit"

demo project for test: "https://github.com/BleachCC/WKWebView_test.git"

xcode console log:

[IPC] Connection::waitForSyncReply: Timed-out while waiting for reply for WebPage_TouchEventSync from process 13969, id=2 [IPC] Connection::waitForSyncReply: Timed-out while waiting for reply for WebPage_TouchEventSync from process 13969, id=3 [SystemGestureGate] <0x153d08c20> Gesture: System gesture gate timed out. [IPC] Connection::waitForSyncReply: Timed-out while waiting for reply for WebPage_TouchEventSync from process 13969, id=4 [IPC] Connection::waitForSyncReply: Timed-out while waiting for reply for WebPage_TouchEventSync from process 13969, id=5 [SystemGestureGate] <0x153d08c20> Gesture: System gesture gate timed out. [IPC] Connection::waitForSyncReply: Timed-out while waiting for reply for WebPage_TouchEventSync from process 13969, id=6 [IPC] Connection::waitForSyncReply: Timed-out while waiting for reply for WebPage_TouchEventSync from process 13969, id=7 [IPC] Connection::waitForSyncReply: Timed-out while waiting for reply for WebPage_TouchEventSync from process 13969, id=8 [IPC] Connection::waitForSyncReply: Timed-out while waiting for reply for WebPage_TouchEventSync from process 13969, id=9 [IPC] Connection::waitForSyncReply: Timed-out while waiting for reply for WebPage_TouchEventSync from process 13969, id=10

WKWebview stuck and unresponsive, ios15 and above
 
 
Q