@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 +5 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -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 +5 -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.umd.js
CHANGED
|
@@ -966,6 +966,11 @@
|
|
|
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');
|
|
969
974
|
this._shadow = this.attachShadow({ mode: 'open' });
|
|
970
975
|
console.log('[EnhancedSelect] Shadow root attached:', this._shadow);
|
|
971
976
|
this._uniqueId = `enhanced-select-${Math.random().toString(36).substr(2, 9)}`;
|