There are 2 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-44817a25-e921-44ce-afab-04068adec178 XWIKI-23099 Open

At high levels of zoom, the home tour can behave unexpectedly

 
View issue   ยท   Add comment
 

2 comments

 
cid:jira-generated-image-avatar-adb3bdb0-04ed-40fa-bf20-d7fc1fcf2a22 Charpentier Lucas on 18/Jun/25 17:41
 

Since the stacktrace is lost in a lot of old dependencies (bootstrap tour + prototypejs), I think the best solution to go with is just to add a "zoom" listener that hides or shows the tour depending on the current screensize in px. Pretty much check https://github.com/xwiki/xwiki-platform/blob/ae4f4e1b3b694e0b88df9f133a2acd967f8940f4/xwiki-platform-core/xwiki-platform-tour/xwiki-platform-tour-ui/src/main/resources/TourCode/TourJS.xml#L418-L420 live.

 
cid:jira-generated-image-avatar-adb3bdb0-04ed-40fa-bf20-d7fc1fcf2a22 Charpentier Lucas on 18/Jun/25 17:42
 
Since the stacktrace is lost in a lot of old dependencies (bootstrap tour + prototypejs), I think the best solution to go with is just to add a "zoom" listener that hides or shows the tour depending on the current screensize in px. Pretty much check   https://github.com/xwiki/xwiki-platform/blob/ae4f4e1b3b694e0b88df9f133a2acd967f8940f4/xwiki-platform-core/xwiki-platform-tour/xwiki-platform-tour-ui/src/main/resources/TourCode/TourJS.xml# L418 L416 - L420 L418 live.