[
https://issues.apache.org/jira/browse/WICKET-7179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18080280#comment-18080280
]
ASF GitHub Bot commented on WICKET-7179:
----------------------------------------
renoth commented on PR #1412:
URL: https://github.com/apache/wicket/pull/1412#issuecomment-4430239364
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
<a id="showModal44e" href="#"
data-wicketsource="de.bayern.stmelf.racy10.…:DemoModalPanel.java:69">
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 width="1861" height="533" alt="image"
src="https://github.com/user-attachments/assets/abb2e12c-aeac-4aa0-80e8-c7d7ffec8b94"
/>
> 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)