adobe / adobe/react-spectrum

[RAC] Add autoscroll config to AriaLink

Open
#6,953 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
15.9k
Forks
1.6k
Avg merge
3d 9m
Merged PRs (30d)
59

Description

### Provide a general summary of the feature here

I am using the nextjs with the react-aria-components link element. When i navigate between pages i get the following warning:
![image](https://github.com/user-attachments/assets/b1dc4146-4a84-4fc5-b4fd-24f69fd0294f)
"Skipping auto-scroll behavior due to `position: sticky` or `position: fixed` on element: "

This is expected and a way to deal with it in nextjs is to disable the autoscroll on the

Contributor guide

Open the contributing guide

Research direction

Start by locating the react-aria-components Link implementation; the issue names no file or test. Done means the Link exposes a scroll or autoscroll option that can disable automatic scrolling for the reported Next.js use case, with tests covering the new behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, react, typescript
Domain
accessibility, frontend, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.