Openbravo Issue Tracking System - POS2
View Issue Details
0053494POS2Corepublic2023-09-19 15:012023-09-21 17:53
jarmendariz 
jarmendariz 
normalmajorhave not tried
closedfixed 
5
 
23Q4 
No
0053494: Styling constants are missing in Popovers in Storybook
As Popovers are rendered outside of the scope of the <div class="obc2ThemeProvider"> where the stories are wrapped, styling constants like obc2-color-* are missing and break the intended styling of those componentes. See attached screenshot as an example
In Storybook, open any ComboBox story and click to open its options. Notice that no style are applied at all.
Add style "obc2ThemeProvider darkTheme" to the <body> element instead of a <div>
No tags attached.
png Screenshot from 2023-09-19 12-12-17.png (95,018) 2023-09-19 15:01
https://issues.openbravo.com/file_download.php?file_id=18968&type=bug
png
Issue History
2023-09-19 15:01jarmendarizNew Issue
2023-09-19 15:01jarmendarizAssigned To => Triage Platform Base
2023-09-19 15:01jarmendarizFile Added: Screenshot from 2023-09-19 12-12-17.png
2023-09-19 15:01jarmendarizTriggers an Emergency Pack => No
2023-09-19 15:02jarmendarizAssigned ToTriage Platform Base => jarmendariz
2023-09-19 15:02jarmendarizStatusnew => scheduled
2023-09-19 15:21hgbotNote Added: 0154998
2023-09-21 17:53hgbotResolutionopen => fixed
2023-09-21 17:53hgbotStatusscheduled => closed
2023-09-21 17:53hgbotNote Added: 0155111
2023-09-21 17:53hgbotFixed in Version => 23Q4
2023-09-21 17:53hgbotNote Added: 0155112

Notes
(0154998)
hgbot   
2023-09-19 15:21   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1249 [^]
(0155111)
hgbot   
2023-09-21 17:53   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1249 [^]
(0155112)
hgbot   
2023-09-21 17:53   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 413f9737ce4e8e02c7f1537d3ace07b684f84b87
Author: Javier Armendáriz <javier.armendariz@openbravo.com>
Date: 21-09-2023 16:25:52
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/413f9737ce4e8e02c7f1537d3ace07b684f84b87 [^]

Fixed ISSUE-53494: Theme style in Storybook is placed in <body> element instead of a <div>

---
M web-jspack/org.openbravo.core2/.storybook/preview.js
---