This issue has been created
There are 2 updates.
 
 
Cristal / cid:jira-generated-image-avatar-09aa19e1-41c4-4cf4-86e8-7d6aa511a1de CRISTAL-847 Open

Cristal shouldn't assume it owns the whole page

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-925eddac-5ac6-4e7d-bb3e-11413b772c29 Pierre Jeanjean created this issue on 27/Aug/26 18:38
 
Summary: Cristal shouldn't assume it owns the whole page
Issue Type: cid:jira-generated-image-avatar-09aa19e1-41c4-4cf4-86e8-7d6aa511a1de Bug
Affects Versions: 1.0.0-rc-1
Assignee: Unassigned
Components: Skin
Created: 27/Aug/26 18:38
Priority: cid:jira-generated-image-static-major-8be41ce3-ba21-4d2c-9818-f8d4efa78435 Major
Reporter: Pierre Jeanjean
Description:

To handle the sidebar, Cristal accesses `document.documentElement` and `window.innerWidth`, which only makes sense if it owns the whole page. But Cristal can be embedded, in which case these should not be used.

 
 

2 updates

 
cid:jira-generated-image-avatar-925eddac-5ac6-4e7d-bb3e-11413b772c29 Changes by Pierre Jeanjean on 27/Aug/26 18:39
 
Assignee: Pierre Jeanjean
Labels: bugfixingday