@smilodon/core 1.0.12 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +6 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/index.umd.js +6 -0
- package/dist/index.umd.js.map +1 -1
- package/dist/index.umd.min.js +1 -1
- package/dist/index.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1015,6 +1015,12 @@ class EnhancedSelect extends HTMLElement {
|
|
|
1015
1015
|
}
|
|
1016
1016
|
connectedCallback() {
|
|
1017
1017
|
console.log('[EnhancedSelect] connectedCallback called');
|
|
1018
|
+
// WORKAROUND: Force display style on host element for Angular compatibility
|
|
1019
|
+
// Angular's rendering seems to not apply :host styles correctly in some cases
|
|
1020
|
+
// Must be done in connectedCallback when element is attached to DOM
|
|
1021
|
+
this.style.display = 'block';
|
|
1022
|
+
this.style.width = '100%';
|
|
1023
|
+
console.log('[EnhancedSelect] Forced host display styles');
|
|
1018
1024
|
// Load initial data if server-side is enabled
|
|
1019
1025
|
if (this._config.serverSide.enabled && this._config.serverSide.initialSelectedValues) {
|
|
1020
1026
|
this._loadInitialSelectedItems();
|