Closed jathpala closed 11 months ago
Describe the bug When using the autocomplete field, the menu is always displayed underneath (and unstyled)
To Reproduce
npm init vite
npm install @smui-extra/autocomplete
import AutoComplete from '@smui-extra/autocomplete'
App.svelte
<AutoComplete options={["One", "Two", "Three"]} />
Expected behavior The options menu should only display while the input is focused (and it should be styled)
Screenshots
Desktop:
Apologies I just realised I made an error
Need to run npm run prepare each time a component is added. This is explained in the docs but I missed it.
npm run prepare
Closing
Describe the bug When using the autocomplete field, the menu is always displayed underneath (and unstyled)
To Reproduce
npm init vite
-> sveltenpm install @smui-extra/autocomplete
import AutoComplete from '@smui-extra/autocomplete'
toApp.svelte
in script tag<AutoComplete options={["One", "Two", "Three"]} />
toApp.svelte
in bodyExpected behavior The options menu should only display while the input is focused (and it should be styled)
Screenshots![Screenshot 2023-07-12 at 23-18-21 Vite Svelte](https://github.com/hperrin/svelte-material-ui/assets/20366024/6d7eff77-f389-4b6f-b038-94256548caf0)
Desktop: