Skip to content

Commit 0ff4b00

Browse files
committed
fix: textfield layout
Fixes #241
1 parent 2efab42 commit 0ff4b00

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/textfield/Textfield.svelte

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,10 @@
493493
}
494494
495495
export function layout() {
496-
instance.layout();
496+
if (instance) {
497+
const openNotch = instance.shouldFloat;
498+
instance.notchOutline(openNotch);
499+
}
497500
}
498501
499502
export function getElement() {

0 commit comments

Comments
 (0)