svelte-select-5 6.1.7 → 6.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Select.svelte +0 -8
- package/no-styles/Select.svelte +0 -8
- package/package.json +1 -1
package/Select.svelte
CHANGED
|
@@ -163,7 +163,6 @@
|
|
|
163
163
|
let _inputAttributes = $state({});
|
|
164
164
|
let prevJustValue = $state(undefined);
|
|
165
165
|
let isScrollingTimer;
|
|
166
|
-
let autoUpdateInitialized = false;
|
|
167
166
|
|
|
168
167
|
// Floating UI config - using closure for listOffset to capture current value
|
|
169
168
|
let _floatingConfig = {
|
|
@@ -853,13 +852,6 @@
|
|
|
853
852
|
if (filterText) hoverItemIndex = 0;
|
|
854
853
|
});
|
|
855
854
|
|
|
856
|
-
$effect(() => {
|
|
857
|
-
if (container && !autoUpdateInitialized && floatingConfig?.autoUpdate === undefined) {
|
|
858
|
-
autoUpdateInitialized = true;
|
|
859
|
-
_floatingConfig.autoUpdate = true;
|
|
860
|
-
}
|
|
861
|
-
});
|
|
862
|
-
|
|
863
855
|
// Lifecycle
|
|
864
856
|
onMount(() => {
|
|
865
857
|
if (listOpen) focused = true;
|
package/no-styles/Select.svelte
CHANGED
|
@@ -163,7 +163,6 @@
|
|
|
163
163
|
let _inputAttributes = $state({});
|
|
164
164
|
let prevJustValue = $state(undefined);
|
|
165
165
|
let isScrollingTimer;
|
|
166
|
-
let autoUpdateInitialized = false;
|
|
167
166
|
|
|
168
167
|
// Floating UI config - using closure for listOffset to capture current value
|
|
169
168
|
let _floatingConfig = {
|
|
@@ -853,13 +852,6 @@
|
|
|
853
852
|
if (filterText) hoverItemIndex = 0;
|
|
854
853
|
});
|
|
855
854
|
|
|
856
|
-
$effect(() => {
|
|
857
|
-
if (container && !autoUpdateInitialized && floatingConfig?.autoUpdate === undefined) {
|
|
858
|
-
autoUpdateInitialized = true;
|
|
859
|
-
_floatingConfig.autoUpdate = true;
|
|
860
|
-
}
|
|
861
|
-
});
|
|
862
|
-
|
|
863
855
|
// Lifecycle
|
|
864
856
|
onMount(() => {
|
|
865
857
|
if (listOpen) focused = true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "svelte-select-5",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.8",
|
|
4
4
|
"description": "A <Select> component for Svelte 5 apps (fork of svelte-select)",
|
|
5
5
|
"repository": "https://github.com/Dbone29/svelte-select-5.git",
|
|
6
6
|
"author": "Robert Balfré <rob.balfre@gmail.com> (https://github.com/rob-balfre)",
|