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 40e1472 commit 563163aCopy full SHA for 563163a
packages/menu-surface/src/MenuSurface.svelte
@@ -99,7 +99,7 @@
99
instance.setFixedPosition(fixed);
100
}
101
102
- $: if (instance && maxHeight > 0) {
+ $: if (instance) {
103
instance.setMaxHeight(maxHeight);
104
105
@@ -220,7 +220,7 @@
220
'bottom' in position ? `${position.bottom}px` : '';
221
},
222
setMaxHeight: (height) => {
223
- internalStyles["max-height"] = height;
+ internalStyles['max-height'] = height;
224
225
});
226
0 commit comments