Skip to content

Commit

Permalink
fix: infinite scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
thejackshelton committed Jan 23, 2025
1 parent fabb539 commit ee9a5f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export const HComboboxItem = component$((props: HComboboxItemProps) => {

const observer = new IntersectionObserver(checkVisibility$, {
root: context.panelRef.value,
threshold: 1.0,
threshold: 0,
});

cleanup(() => observer?.disconnect());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export const HSelectItem = component$<SelectItemProps>((props) => {

const observer = new IntersectionObserver(checkVisibility$, {
root: context.popoverRef.value,
threshold: 1.0,
threshold: 0,
});

cleanup(() => observer?.disconnect());
Expand Down

0 comments on commit ee9a5f1

Please sign in to comment.