Open FeedMyCat54 opened 1 year ago
Describe the bug FloatingLabel.float(false); does not make the label stop floating.
To Reproduce Steps to reproduce the behavior:
Expected behavior When I click on the Textfield the label does not float.
Desktop
Additional context Sample code:
<Textfield variant="filled" label="label" bind:floatingLabel={floatingLabel1} > </Textfield> <script lang="ts"> import Textfield from '@smui/textfield'; import type FloatingLabel from '@smui/floating-label/src/FloatingLabel.svelte'; import { onMount } from 'svelte'; let floatingLabel1: FloatingLabel; onMount(() => { floatingLabel1.float(false); }) </script>
Describe the bug FloatingLabel.float(false); does not make the label stop floating.
To Reproduce Steps to reproduce the behavior:
Expected behavior When I click on the Textfield the label does not float.
Desktop
Additional context Sample code: