vueform / multiselect

Vue 3 multiselect component with single select, multiselect and tagging options (+Tailwind CSS support).
https://vueform.com
MIT License
807 stars 150 forks source link

appendToBody on async options: dropdown position is incorrect for the first time appearance #413

Closed faizaaulia closed 5 months ago

faizaaulia commented 5 months ago

Version

Description

Using appendToBody on async options select, the dropdown open position is incorrect for the first time. Then when the user scroll, the dropdown position will recalculate to the proper position

Demo

I try it on your JSFiddle reproduction template is ok, Reproduction from your template But if I try it from your JSFiddle demo with addition on appendToBody, the dropdown position is not oke Modified JSFiddle demo I don't know what is the difference, but I set the same props on the both JSFiddle. So I can't really tell if it is an issue on the multiselect or just the layout. But here is my recording video: Recording on bug

adamberecz commented 5 months ago

Resolved: https://discord.com/channels/787237947635793940/1250692495227228160/1251113911181119518