@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.umd.js CHANGED
@@ -1019,6 +1019,12 @@
1019
1019
  }
1020
1020
  connectedCallback() {
1021
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');
1022
1028
  // Load initial data if server-side is enabled
1023
1029
  if (this._config.serverSide.enabled && this._config.serverSide.initialSelectedValues) {
1024
1030
  this._loadInitialSelectedItems();