I am using the nextjs with the react-aria-components link element. When i navigate between pages i get the following warning:
"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 <Link element. The link from
import Link from 'next/link' has a property called "scroll" which i can set to false. But the react-aria-components Link has no such property and i have no way to disable that warning in the console.
๐ค Expected Behavior?
Expose a scroll/autoscroll property on the react-aria-components link
๐ฏ Current Behavior
No scroll/autoscroll on link
๐ Possible Solution
No response
๐ฆ Context
Cannot remove the warnings if I cannot control autoscroll.
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: "Skipping auto-scroll behavior due to
position: sticky
orposition: fixed
on element: "This is expected and a way to deal with it in nextjs is to disable the autoscroll on the <Link element. The link from
import Link from 'next/link'
has a property called "scroll" which i can set to false. But the react-aria-components Link has no such property and i have no way to disable that warning in the console.๐ค Expected Behavior?
Expose a scroll/autoscroll property on the react-aria-components link
๐ฏ Current Behavior
No scroll/autoscroll on link
๐ Possible Solution
No response
๐ฆ Context
Cannot remove the warnings if I cannot control autoscroll.
๐ป Examples
No response
๐งข Your Company/Team
No response
๐ท Tracking Issue
No response