[
https://issues.apache.org/jira/browse/WICKET-7179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18080675#comment-18080675
]
ASF GitHub Bot commented on WICKET-7179:
----------------------------------------
reiern70 commented on PR #1412:
URL: https://github.com/apache/wicket/pull/1412#issuecomment-4442796321
> After the upgrade to Wicket 10.9.0 we get an Error in the console after
closing a Modal Dialog:
>
> trap-focus: error restoring focus. Attempted to set focus to element, but
got an exception
>
> TypeError: k.trigger is not a function trapFocus racy10.js:formatted:31300
remove racy10.js:formatted:31258 remove racy10.js:formatted:2643 cleanData
racy10.js:formatted:3130 cleanData racy10.js:formatted:7249 replaceWith
racy10.js:formatted:3263
>
> I suspect it is because we are still on Jquery 3.7.1 and not Jquery 4,
upgrading to Jquery 4 may have other implications so i did not do that yet. I
suspect the following change to be the reason:
>
> <img alt="image" width="1861" height="533"
src="https://private-user-images.githubusercontent.com/4069007/591056945-abb2e12c-aeac-4aa0-80e8-c7d7ffec8b94.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Nzg2ODc2NDcsIm5iZiI6MTc3ODY4NzM0NywicGF0aCI6Ii80MDY5MDA3LzU5MTA1Njk0NS1hYmIyZTEyYy1hZWFjLTRhYTAtODBlOC1jN2Q3ZmZlYzhiOTQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDUxMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjA1MTNUMTU0OTA3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MDdiNDJjYmYyMmM5M2Y2OTBlYmUxN2QzZTE4NDA2MGQ0YzdiOWVmNDExNjJiOTcyNzNkNDViN2NmMjVmMjg5ZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.B-Aefl30rFBtKUUklIIVgALUzCORhNVBWUulXOcpSy0">
Could you please confirm if my latest changes fix your problems?
> add support for jQuery 4.0.0
> ----------------------------
>
> Key: WICKET-7179
> URL: https://issues.apache.org/jira/browse/WICKET-7179
> Project: Wicket
> Issue Type: Improvement
> Reporter: Ernesto Reinaldo Barreiro
> Assignee: Ernesto Reinaldo Barreiro
> Priority: Major
> Fix For: 11.0.0, 10.9.0
>
>
> add support for jQuery 4.0.0
--
This message was sent by Atlassian Jira
(v8.20.10#820010)