Skip to content

Commit

Permalink
Refactor #12031 - Add overlay support to CascadeSelect
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Nov 5, 2022
1 parent 0700255 commit 1cbd58d
Show file tree
Hide file tree
Showing 2 changed files with 94 additions and 204 deletions.
21 changes: 10 additions & 11 deletions src/app/components/cascadeselect/cascadeselect.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,6 @@
visibility: hidden;
}

.p-cascadeselect .p-cascadeselect-panel {
min-width: 100%;
}

.p-cascadeselect-panel {
position: absolute;
top: 0;
left: 0;
}

.p-cascadeselect-item {
cursor: pointer;
font-weight: normal;
Expand Down Expand Up @@ -94,4 +84,13 @@

.p-cascadeselect-clearable {
position: relative;
}
}

/* Modal */
.p-overlay-modal .p-cascadeselect-sublist {
position: relative;
}

.p-overlay-modal .p-cascadeselect-item-active > .p-cascadeselect-sublist {
left: 0;
}
Loading

0 comments on commit 1cbd58d

Please sign in to comment.