Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/shaky-impalas-think.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@solid-design-system/components': minor
---

Fixed the overlaping issue of the sd-popup being under the sd-datepicker's input form.
Original file line number Diff line number Diff line change
Expand Up @@ -1969,7 +1969,7 @@ export default class SdDatepicker extends SolidElement implements SolidFormContr
id="label"
part="form-control-floating-label"
class=${cx(
'absolute left-4 z-20 pointer-events-none transition-all duration-200',
'absolute left-4 z-10 pointer-events-none transition-all duration-200',
!isFloatingLabelActive
? 'top-1/2 -translate-y-1/2'
: this.size === 'lg'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/components/popup/popup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ export default class SdPopup extends SolidElement {

<div
part="popup"
class=${cx('isolate', this.strategy !== 'fixed' ? 'absolute' : 'fixed', !this.active && 'hidden')}
class=${cx('isolate z-20', this.strategy !== 'fixed' ? 'absolute' : 'fixed', !this.active && 'hidden')}
>
<slot></slot>
${this.arrow ? html`<div part="arrow" class="absolute rotate-45 -z-10" role="presentation"></div>` : ''}
Expand Down
Loading