-
Notifications
You must be signed in to change notification settings - Fork 3
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
fix some infinite scroll issues #54
Conversation
src/Multiselect.vue
Outdated
if (!props.infinite) { | ||
if (newOptions && newOptions.length > 0) { | ||
for (const option of oldOptions) { | ||
if (!_.some(newOptions, option as never) && options.isSelected(option, options.selectedOptions.value)) | ||
options.deselect(option) | ||
} | ||
} | ||
else { | ||
multiselect.clear() | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@coronoro, irgendwie bin ich hier nicht so fan vom loop im watcher und den if statements. Siehst du Verbesserungspotential?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Moerlin1337, wieso ist der type von option never
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
btw gibt es auch von vueUse ein infinite scrolling https://vueuse.org/core/useinfinitescroll/#useinfinitescroll
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ich würde gerne nochmal mit dir über die useMultiselect
gehen wollen.
src/utils/useOptions.ts
Outdated
} | ||
else { | ||
return false | ||
correctValues = null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
correctValues
wird mit undefined
initialisiert. Die Zuweisung wird nicht gebraucht.
@OrbisK Kannst du bitte nochmal über die Änderungen schauen ob du noch was findest? |
* fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de>
* fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de>
* fix some infinite scroll issues (#54) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * feat: performance adjustments * fix: bump version (#59) Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de>
* chore: remove develop from release config * ci: fix missing `npx` * polish: remove css stylesheet because it's never used * style: rework styling a little to make external customization easier * test: adapt tests to styling changes * docs: adapt docs to styling changes * feature: add types to build * feat: add types to build * fix: missing types * fix: build Multiselect types correctly (#39) * fix some infinite scroll issues (#54) (#55) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * Revert "fix some infinite scroll issues (#54) (#55)" (#56) This reverts commit 618dde0. * fix some infinite scroll issues (#54) (#57) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * fix: bump version (#60) * fix some infinite scroll issues (#54) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * feat: performance adjustments * fix: bump version (#59) Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * docs: remove @beta in installation so it could be merged in main Co-authored-by: Robin Kehl <robin.kehl@singular-it.de> Co-authored-by: OrbisK <37191683+OrbisK@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de>
* chore: remove develop from release config * ci: fix missing `npx` * polish: remove css stylesheet because it's never used * style: rework styling a little to make external customization easier * test: adapt tests to styling changes * docs: adapt docs to styling changes * feature: add types to build * feat: add types to build * fix: missing types * fix: build Multiselect types correctly (#39) * fix some infinite scroll issues (#54) (#55) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * Revert "fix some infinite scroll issues (#54) (#55)" (#56) This reverts commit 618dde0. * fix some infinite scroll issues (#54) (#57) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * fix: bump version (#60) * fix some infinite scroll issues (#54) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * feat: performance adjustments * fix: bump version (#59) Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Robin Kehl <robin.kehl@singular-it.de> Co-authored-by: OrbisK <37191683+OrbisK@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com> Co-authored-by: Tim Streicher <tim.streicher@singular-it.de>
* chore: remove develop from release config * ci: fix missing `npx` * polish: remove css stylesheet because it's never used * style: rework styling a little to make external customization easier * test: adapt tests to styling changes * docs: adapt docs to styling changes * feature: add types to build * feat: add types to build * fix: missing types * fix: build Multiselect types correctly (#39) * fix some infinite scroll issues (#54) (#55) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * Revert "fix some infinite scroll issues (#54) (#55)" This reverts commit 618dde0. Co-authored-by: Robin Kehl <robin.kehl@singular-it.de> Co-authored-by: OrbisK <37191683+OrbisK@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com>
* fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de>
* chore: remove develop from release config * ci: fix missing `npx` * polish: remove css stylesheet because it's never used * style: rework styling a little to make external customization easier * test: adapt tests to styling changes * docs: adapt docs to styling changes * feature: add types to build * feat: add types to build * fix: missing types * fix: build Multiselect types correctly (#39) * fix some infinite scroll issues (#54) (#55) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * Revert "fix some infinite scroll issues (#54) (#55)" (#56) This reverts commit 618dde0. * fix some infinite scroll issues (#54) (#57) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * fix: bump version (#60) * fix some infinite scroll issues (#54) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * feat: performance adjustments * fix: bump version (#59) Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Robin Kehl <robin.kehl@singular-it.de> Co-authored-by: OrbisK <37191683+OrbisK@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com> Co-authored-by: Tim Streicher <tim.streicher@singular-it.de>
* chore: remove develop from release config * ci: fix missing `npx` * polish: remove css stylesheet because it's never used * style: rework styling a little to make external customization easier * test: adapt tests to styling changes * docs: adapt docs to styling changes * feature: add types to build * feat: add types to build * fix: missing types * fix: build Multiselect types correctly (#39) * fix some infinite scroll issues (#54) (#55) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * Revert "fix some infinite scroll issues (#54) (#55)" (#56) This reverts commit 618dde0. * fix some infinite scroll issues (#54) (#57) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * fix: bump version (#60) * fix some infinite scroll issues (#54) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * feat: performance adjustments * fix: bump version (#59) Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Robin Kehl <robin.kehl@singular-it.de> Co-authored-by: OrbisK <37191683+OrbisK@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com> Co-authored-by: Tim Streicher <tim.streicher@singular-it.de>
* fix some infinite scroll issues (#54) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * feat: performance adjustments * fix: bump version (#59) Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * fix: avoid reactive variables to trigger themselves (#61) * fix: avoid reactive variables to trigger themselves * docs: adapt readme to small prop changes * fix: fix if condition, so optionValues can be arrays in single mode * test: add array as value for some options * chore: add selected Options as possible dependency for optionLabel again * docs: adapt readme to changes Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * chore: merge beta into develop (#63) * chore: remove develop from release config * ci: fix missing `npx` * polish: remove css stylesheet because it's never used * style: rework styling a little to make external customization easier * test: adapt tests to styling changes * docs: adapt docs to styling changes * feature: add types to build * feat: add types to build * fix: missing types * fix: build Multiselect types correctly (#39) * fix some infinite scroll issues (#54) (#55) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * Revert "fix some infinite scroll issues (#54) (#55)" (#56) This reverts commit 618dde0. * fix some infinite scroll issues (#54) (#57) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * fix: bump version (#60) * fix some infinite scroll issues (#54) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * feat: performance adjustments * fix: bump version (#59) Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * docs: remove @beta in installation so it could be merged in main Co-authored-by: Robin Kehl <robin.kehl@singular-it.de> Co-authored-by: OrbisK <37191683+OrbisK@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * Fix beta merge conflict (#64) * chore: remove develop from release config * ci: fix missing `npx` * polish: remove css stylesheet because it's never used * style: rework styling a little to make external customization easier * test: adapt tests to styling changes * docs: adapt docs to styling changes * feature: add types to build * feat: add types to build * fix: missing types * fix: build Multiselect types correctly (#39) * fix some infinite scroll issues (#54) (#55) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * Revert "fix some infinite scroll issues (#54) (#55)" (#56) This reverts commit 618dde0. * fix some infinite scroll issues (#54) (#57) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * fix: bump version (#60) * fix some infinite scroll issues (#54) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * feat: performance adjustments * fix: bump version (#59) Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Robin Kehl <robin.kehl@singular-it.de> Co-authored-by: OrbisK <37191683+OrbisK@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com> Co-authored-by: Tim Streicher <tim.streicher@singular-it.de> * Revert 55 develop (#65) * chore: remove develop from release config * ci: fix missing `npx` * polish: remove css stylesheet because it's never used * style: rework styling a little to make external customization easier * test: adapt tests to styling changes * docs: adapt docs to styling changes * feature: add types to build * feat: add types to build * fix: missing types * fix: build Multiselect types correctly (#39) * fix some infinite scroll issues (#54) (#55) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * Revert "fix some infinite scroll issues (#54) (#55)" This reverts commit 618dde0. Co-authored-by: Robin Kehl <robin.kehl@singular-it.de> Co-authored-by: OrbisK <37191683+OrbisK@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com> * Revert "fix some infinite scroll issues (#54) (#55)" (#56) This reverts commit 618dde0. Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Robin Kehl <robin.kehl@singular-it.de> Co-authored-by: OrbisK <37191683+OrbisK@users.noreply.github.com> Co-authored-by: Tim Streicher <tim.streicher@singular-it.de>
* fix some infinite scroll issues (#54) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * feat: performance adjustments * fix: bump version (#59) Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * fix: avoid reactive variables to trigger themselves (#61) * fix: avoid reactive variables to trigger themselves * docs: adapt readme to small prop changes * fix: fix if condition, so optionValues can be arrays in single mode * test: add array as value for some options * chore: add selected Options as possible dependency for optionLabel again * docs: adapt readme to changes Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * chore: merge beta into develop (#63) * chore: remove develop from release config * ci: fix missing `npx` * polish: remove css stylesheet because it's never used * style: rework styling a little to make external customization easier * test: adapt tests to styling changes * docs: adapt docs to styling changes * feature: add types to build * feat: add types to build * fix: missing types * fix: build Multiselect types correctly (#39) * fix some infinite scroll issues (#54) (#55) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * Revert "fix some infinite scroll issues (#54) (#55)" (#56) This reverts commit 618dde0. * fix some infinite scroll issues (#54) (#57) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * fix: bump version (#60) * fix some infinite scroll issues (#54) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * feat: performance adjustments * fix: bump version (#59) Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * docs: remove @beta in installation so it could be merged in main Co-authored-by: Robin Kehl <robin.kehl@singular-it.de> Co-authored-by: OrbisK <37191683+OrbisK@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * Fix beta merge conflict (#64) * chore: remove develop from release config * ci: fix missing `npx` * polish: remove css stylesheet because it's never used * style: rework styling a little to make external customization easier * test: adapt tests to styling changes * docs: adapt docs to styling changes * feature: add types to build * feat: add types to build * fix: missing types * fix: build Multiselect types correctly (#39) * fix some infinite scroll issues (#54) (#55) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * Revert "fix some infinite scroll issues (#54) (#55)" (#56) This reverts commit 618dde0. * fix some infinite scroll issues (#54) (#57) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * fix: bump version (#60) * fix some infinite scroll issues (#54) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * feat: performance adjustments * fix: bump version (#59) Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Robin Kehl <robin.kehl@singular-it.de> Co-authored-by: OrbisK <37191683+OrbisK@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com> Co-authored-by: Tim Streicher <tim.streicher@singular-it.de> * Revert 55 develop (#65) * chore: remove develop from release config * ci: fix missing `npx` * polish: remove css stylesheet because it's never used * style: rework styling a little to make external customization easier * test: adapt tests to styling changes * docs: adapt docs to styling changes * feature: add types to build * feat: add types to build * fix: missing types * fix: build Multiselect types correctly (#39) * fix some infinite scroll issues (#54) (#55) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * Revert "fix some infinite scroll issues (#54) (#55)" This reverts commit 618dde0. Co-authored-by: Robin Kehl <robin.kehl@singular-it.de> Co-authored-by: OrbisK <37191683+OrbisK@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com> * Revert "fix some infinite scroll issues (#54) (#55)" (#56) This reverts commit 618dde0. * fix: bugs caused by branch fix (#68) Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Robin Kehl <robin.kehl@singular-it.de> Co-authored-by: OrbisK <37191683+OrbisK@users.noreply.github.com> Co-authored-by: coronoro <streicher.tim@googlemail.com> Co-authored-by: Tim Streicher <tim.streicher@singular-it.de>
* fix some infinite scroll issues (#54) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * feat: performance adjustments * fix: bump version (#59) Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * fix: avoid reactive variables to trigger themselves (#61) * fix: avoid reactive variables to trigger themselves * docs: adapt readme to small prop changes * fix: fix if condition, so optionValues can be arrays in single mode * test: add array as value for some options * chore: add selected Options as possible dependency for optionLabel again * docs: adapt readme to changes Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * chore: merge beta into develop (#63) * chore: remove develop from release config * ci: fix missing `npx` * polish: remove css stylesheet because it's never used * style: rework styling a little to make external customization easier * test: adapt tests to styling changes * docs: adapt docs to styling changes * feature: add types to build * feat: add types to build * fix: missing types * fix: build Multiselect types correctly (#39) * fix some infinite scroll issues (#54) (#55) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * Revert "fix some infinite scroll issues (#54) (#55)" (#56) This reverts commit 618dde0. * fix some infinite scroll issues (#54) (#57) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * fix: bump version (#60) * fix some infinite scroll issues (#54) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * feat: performance adjustments * fix: bump version (#59) Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * docs: remove @beta in installation so it could be merged in main Co-authored-by: Robin Kehl <robin.kehl@singular-it.de> Co-authored-by: OrbisK <37191683+OrbisK@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * Fix beta merge conflict (#64) * chore: remove develop from release config * ci: fix missing `npx` * polish: remove css stylesheet because it's never used * style: rework styling a little to make external customization easier * test: adapt tests to styling changes * docs: adapt docs to styling changes * feature: add types to build * feat: add types to build * fix: missing types * fix: build Multiselect types correctly (#39) * fix some infinite scroll issues (#54) (#55) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * Revert "fix some infinite scroll issues (#54) (#55)" (#56) This reverts commit 618dde0. * fix some infinite scroll issues (#54) (#57) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * fix: bump version (#60) * fix some infinite scroll issues (#54) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * feat: performance adjustments * fix: bump version (#59) Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Robin Kehl <robin.kehl@singular-it.de> Co-authored-by: OrbisK <37191683+OrbisK@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com> Co-authored-by: Tim Streicher <tim.streicher@singular-it.de> * Revert 55 develop (#65) * chore: remove develop from release config * ci: fix missing `npx` * polish: remove css stylesheet because it's never used * style: rework styling a little to make external customization easier * test: adapt tests to styling changes * docs: adapt docs to styling changes * feature: add types to build * feat: add types to build * fix: missing types * fix: build Multiselect types correctly (#39) * fix some infinite scroll issues (#54) (#55) * fix: loadMore is only emitted once * fix: multiselect isn't cleared if options are removed in infinite mode * fix: don't emit 'loadMore' if options are currently loading * feat: performance rework * fix: if-condition * fix: remember selected options in infinite mode * chore: remove duplicate code * chore: remove unnecessary comments Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * Revert "fix some infinite scroll issues (#54) (#55)" This reverts commit 618dde0. Co-authored-by: Robin Kehl <robin.kehl@singular-it.de> Co-authored-by: OrbisK <37191683+OrbisK@users.noreply.github.com> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Moerlin1337 <105291378+Moerlin1337@users.noreply.github.com> * Revert "fix some infinite scroll issues (#54) (#55)" (#56) This reverts commit 618dde0. * fix: bugs caused by branch fix (#68) Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> * fix a few bugs (#70) * fix: blur search input if the dropdown closes (closeOnSelect) * fix: change default modelValue in single select to undefined (means no selection) instead of null Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Merlin Flach <merlin.flach@singular-it.de> Co-authored-by: Robin Kehl <robin.kehl@singular-it.de> Co-authored-by: OrbisK <37191683+OrbisK@users.noreply.github.com> Co-authored-by: coronoro <streicher.tim@googlemail.com> Co-authored-by: Tim Streicher <tim.streicher@singular-it.de>
No description provided.