There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-d36a0fe6-e119-434e-9ea9-5a7e35695f71 XWIKI-14027 Open

Navigation panel stuck if you are in Panel Wizard

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-4b67b60b-99a5-4cf7-b2e3-00e1a161d3bf Charpentier Lucas on 06/Feb/25 17:31
 

The event handler for mousedown does not block the click event.
https://github.com/xwiki/xwiki-platform/blob/bc6fb452ef10414c1756b2b547e8129ec1e35c9d/xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/js/xwiki/panelwizard/Drag.js#L39

My guess is that the details of implementation for both of the mousedown and mousemove events are slightly different between chrome and Firefox, and this ends up in radically different behaviours because of the "on the fly" instantiation of the event listener.


Solution:

  • Make it so that the clicks are consistently blocked.
  • Have the user initially on the Panel List tab, instead of Page Layout, because the Wizard is activated from the start and there's no explanation about it in the Page Layout UI. This way it's easier to figure out what's weird with the panels here.