@smilodon/core 1.0.13 → 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 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -5
- 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 -5
- 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.umd.js
CHANGED
|
@@ -966,11 +966,6 @@
|
|
|
966
966
|
this._errorMessage = '';
|
|
967
967
|
this._boundArrowClick = null;
|
|
968
968
|
console.log('[EnhancedSelect] Constructor called');
|
|
969
|
-
// WORKAROUND: Force display style on host element for Angular compatibility
|
|
970
|
-
// Angular's rendering seems to not apply :host styles correctly in some cases
|
|
971
|
-
this.style.display = 'block';
|
|
972
|
-
this.style.width = '100%';
|
|
973
|
-
console.log('[EnhancedSelect] Forced host display styles');
|
|
974
969
|
this._shadow = this.attachShadow({ mode: 'open' });
|
|
975
970
|
console.log('[EnhancedSelect] Shadow root attached:', this._shadow);
|
|
976
971
|
this._uniqueId = `enhanced-select-${Math.random().toString(36).substr(2, 9)}`;
|
|
@@ -1024,6 +1019,12 @@
|
|
|
1024
1019
|
}
|
|
1025
1020
|
connectedCallback() {
|
|
1026
1021
|
console.log('[EnhancedSelect] connectedCallback called');
|
|
1022
|
+
// WORKAROUND: Force display style on host element for Angular compatibility
|
|
1023
|
+
// Angular's rendering seems to not apply :host styles correctly in some cases
|
|
1024
|
+
// Must be done in connectedCallback when element is attached to DOM
|
|
1025
|
+
this.style.display = 'block';
|
|
1026
|
+
this.style.width = '100%';
|
|
1027
|
+
console.log('[EnhancedSelect] Forced host display styles');
|
|
1027
1028
|
// Load initial data if server-side is enabled
|
|
1028
1029
|
if (this._config.serverSide.enabled && this._config.serverSide.initialSelectedValues) {
|
|
1029
1030
|
this._loadInitialSelectedItems();
|