@smilodon/core 1.0.12 → 1.0.13

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 CHANGED
@@ -962,6 +962,11 @@ class EnhancedSelect extends HTMLElement {
962
962
  this._errorMessage = '';
963
963
  this._boundArrowClick = null;
964
964
  console.log('[EnhancedSelect] Constructor called');
965
+ // WORKAROUND: Force display style on host element for Angular compatibility
966
+ // Angular's rendering seems to not apply :host styles correctly in some cases
967
+ this.style.display = 'block';
968
+ this.style.width = '100%';
969
+ console.log('[EnhancedSelect] Forced host display styles');
965
970
  this._shadow = this.attachShadow({ mode: 'open' });
966
971
  console.log('[EnhancedSelect] Shadow root attached:', this._shadow);
967
972
  this._uniqueId = `enhanced-select-${Math.random().toString(36).substr(2, 9)}`;