We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c31281 commit 32bf076Copy full SHA for 32bf076
src/components/popover/popover.tsx
@@ -867,6 +867,11 @@ export class ChPopover {
867
return Math.max(actionRect.height, popoverRect.height);
868
}
869
870
+ // Size is determined by the content
871
+ if (this.#resizeWasMade || this.blockSizeMatch === "content") {
872
+ return popoverRect.height;
873
+ }
874
+
875
// Size is the same as the `actionElement`
876
setProperty(this.el, POPOVER_BLOCK_SIZE, actionRect.height);
877
return actionRect.height;
0 commit comments