-
Notifications
You must be signed in to change notification settings - Fork 154
fix: issue #795 #797
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
Open
007qr
wants to merge
15
commits into
solidjs-community:main
Choose a base branch
from
007qr:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+84
−39
Open
fix: issue #795 #797
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
9c7bf25
fix: issue #795
007qr 393d965
fix: issues with reactivity
007qr 6d648e5
fix: removed duplicate imports
007qr 2b33fed
fix: reactivity issue with error and loding
007qr 6bd4189
Merge branch 'main' into main
007qr 8a7d125
Merge branch 'solidjs-community:main' into main
007qr 63272e6
Merge branch 'solidjs-community:main' into main
007qr 27f7228
fix: api design
007qr af13cbe
Merge branch 'solidjs-community:main' into main
007qr d2d74c9
fix(pagination): expose loading/error on createInfiniteScroll pages …
007qr c2b616f
refactor: removed testing project from pnpm-workspace-yaml file
007qr bcfdd4d
chore: add changeset for pagination createInfiniteScroll improvements
007qr a72565d
Merge branch 'main' into main
007qr 4e6e6eb
Merge branch 'main' into main
davedbase 1289a77
Merge branch 'solidjs-community:main' into main
007qr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@solid-primitives/pagination": minor | ||
| --- | ||
|
|
||
| createInfiniteScroll now exposes .loading/.error on pages, handles null refs, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
🩺 Stability & Availability | 🟠 Major | 🏗️ Heavy lift
🧩 Analysis chain
🌐 Web query:
Does IntersectionObserver re-invoke its callback when the observed element remains intersecting and no intersection state change occurs?💡 Result:
No, the IntersectionObserver callback does not re-invoke when an observed element remains intersecting and no intersection state change (crossing a threshold) occurs [1][2][3]. The callback is specifically designed to trigger only when the visibility of the target element crosses one of the observer's defined thresholds [1][2][3]. If the element remains within its current state (i.e., its intersection ratio does not cross any defined threshold), the observer does not fire the callback [1][2][4]. There is one notable exception to this rule: the callback is guaranteed to fire at least once during the first render cycle after the observe method is called, regardless of whether a threshold has been crossed [5]. This initial invocation serves to provide the observer with the target's current intersection status [5]. Following this initial report, subsequent invocations will only occur when a threshold-crossing event takes place [1][2][5].
Citations:
🏁 Script executed:
Repository: solidjs-community/solid-primitives
Length of output: 4979
Auto-pagination can stall on intersecting sentinels and skip failed pages.
res.loadingflips false, no new observer event fires, so short pages can stop loading until the element leaves and re-enters view.pageinstead of retrying the failed request, so the failed page is skipped.Re-check the sentinel when loading/error state changes, or gate
setPageon a successful fetch state.🤖 Prompt for AI Agents