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";
 />
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to