mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-01-23 00:59:22 -05:00
parent
2cda3f8aca
commit
aebff60f4d
3 changed files with 4 additions and 3 deletions
|
@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
### Fixes 🍕
|
### Fixes 🍕
|
||||||
|
|
||||||
- Fixed `use_color_mode` without cookies and make cookies sync properly with local storage
|
- Fixed `use_color_mode` without cookies and make cookies sync properly with local storage
|
||||||
|
- Fixed `use_infinite_scroll` edge case bug with disposed signals
|
||||||
|
|
||||||
## [0.10.8] - 2024-04-19
|
## [0.10.8] - 2024-04-19
|
||||||
|
|
||||||
|
|
|
@ -168,10 +168,10 @@ where
|
||||||
#[cfg(debug_assertions)]
|
#[cfg(debug_assertions)]
|
||||||
SpecialNonReactiveZone::exit(prev);
|
SpecialNonReactiveZone::exit(prev);
|
||||||
|
|
||||||
set_loading.set(false);
|
set_loading.try_set(false);
|
||||||
sleep(Duration::ZERO).await;
|
sleep(Duration::ZERO).await;
|
||||||
measure();
|
measure();
|
||||||
if let Some(check_and_load) = check_and_load.get_value() {
|
if let Some(check_and_load) = check_and_load.try_get_value().flatten() {
|
||||||
check_and_load();
|
check_and_load();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -421,7 +421,7 @@ where
|
||||||
);
|
);
|
||||||
|
|
||||||
let measure = move || {
|
let measure = move || {
|
||||||
if let Some(el) = signal.get_untracked() {
|
if let Some(el) = signal.try_get_untracked().flatten() {
|
||||||
let el = el.into();
|
let el = el.into();
|
||||||
set_arrived_state(el);
|
set_arrived_state(el);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue