Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to drag items when using {dndzone} with collapseSelection ={true} #215

Closed
macsupport opened this issue Jan 24, 2024 · 1 comment
Closed
Labels
bug Something isn't working
Milestone

Comments

@macsupport
Copy link

I am unable to drag items if I set collapseSelection ={true}. When attempting to drag, the dropdown collapses and the selections disappear. My set up is simple:

<Svelecte bind:this={svelecte} inputId="drugs" {dndzone} name="drugSelect" multiple bind:value={selectedItems} valueField="name" labelField="name" valueAsObject placeholder="Select Drugs to Add" clearable enterKey={true} closeAfterSelect = {true} collapseSelection ={true} fetchResetOnBlur={true} resetOnBlur={true} {options} on:change={handlekg}></Svelecte>

Here is a fork of your dndzone REPL showing the issue

@mskocik mskocik added the bug Something isn't working label Feb 3, 2024
@mskocik
Copy link
Owner

mskocik commented Feb 3, 2024

Definitely unexpected, will take a look what can be done about this

@mskocik mskocik added this to the v4.0 milestone Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants