-
-
Notifications
You must be signed in to change notification settings - Fork 433
fix(ui): prevent scroll jump during pagination #1645
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
Changes from 4 commits
f916120
307b733
32efa44
41daab9
402ccb0
d7fa91e
24dc3e8
0c3fd9e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -4,11 +4,7 @@ | |||||||||||||||||||||||||||||||||
| "private": true, | ||||||||||||||||||||||||||||||||||
| "type": "module", | ||||||||||||||||||||||||||||||||||
| "version": "0.0.0", | ||||||||||||||||||||||||||||||||||
| "author": { | ||||||||||||||||||||||||||||||||||
| "name": "Daniel Roe", | ||||||||||||||||||||||||||||||||||
| "email": "daniel@roe.dev", | ||||||||||||||||||||||||||||||||||
| "url": "https://roe.dev" | ||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||
| "author": "Daniel Roe <daniel@roe.dev> (https://roe.dev)", | ||||||||||||||||||||||||||||||||||
| "scripts": { | ||||||||||||||||||||||||||||||||||
| "build": "nuxt build", | ||||||||||||||||||||||||||||||||||
| "build:lunaria": "node ./lunaria/lunaria.ts", | ||||||||||||||||||||||||||||||||||
|
|
@@ -167,5 +163,19 @@ | |||||||||||||||||||||||||||||||||
| "pnpm oxfmt" | ||||||||||||||||||||||||||||||||||
| ] | ||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||
| "packageManager": "pnpm@10.30.1" | ||||||||||||||||||||||||||||||||||
| "packageManager": "pnpm@10.30.1", | ||||||||||||||||||||||||||||||||||
| "description": "> A fast, modern browser for the npm registry.", | ||||||||||||||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Strip the Markdown blockquote prefix from The value 🐛 Proposed fix- "description": "> A fast, modern browser for the npm registry.",
+ "description": "A fast, modern browser for the npm registry.",📝 Committable suggestion
Suggested change
|
||||||||||||||||||||||||||||||||||
| "main": "index.js", | ||||||||||||||||||||||||||||||||||
| "directories": { | ||||||||||||||||||||||||||||||||||
| "doc": "docs", | ||||||||||||||||||||||||||||||||||
| "test": "test" | ||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
🐛 Proposed fix- "main": "index.js",
- "directories": {
- "doc": "docs",
- "test": "test"
- },📝 Committable suggestion
Suggested change
|
||||||||||||||||||||||||||||||||||
| "repository": { | ||||||||||||||||||||||||||||||||||
| "type": "git", | ||||||||||||||||||||||||||||||||||
| "url": "git+https://github.com/marlonwq/npmx.dev.git" | ||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||
| "bugs": { | ||||||||||||||||||||||||||||||||||
| "url": "https://github.com/marlonwq/npmx.dev/issues" | ||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||
| "homepage": "https://github.com/marlonwq/npmx.dev#readme" | ||||||||||||||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These metadata additions are unrelated to the PR objective and appear to be The PR is scoped to fixing a scroll-jump regression during pagination. All changes from line 167 onward (
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fork-scoped URLs must not be merged into the upstream repository.
🐛 Proposed fix- "repository": {
- "type": "git",
- "url": "git+https://github.com/marlonwq/npmx.dev.git"
- },
- "bugs": {
- "url": "https://github.com/marlonwq/npmx.dev/issues"
- },
- "homepage": "https://github.com/marlonwq/npmx.dev#readme"
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/npmx-dev/npmx.dev.git"
+ },
+ "bugs": {
+ "url": "https://github.com/npmx-dev/npmx.dev/issues"
+ },
+ "homepage": "https://github.com/npmx-dev/npmx.dev#readme"📝 Committable suggestion
Suggested change
|
||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||
Uh oh!
There was an error while loading. Please reload this page.