next.js/test/e2e/app-dir/router-autoscroll/app/invisible-first-element/page.tsx
page.tsx15 lines369 B
export default function InvisibleFirstElementPage() {
  return (
    <>
      <div style={{ display: 'none' }}>Content that is hidden.</div>
      <div id="content-that-is-visible">Content which is not hidden.</div>
      {
        // Repeat 500 elements
        Array.from({ length: 500 }, (_, i) => (
          <div key={i}>{i}</div>
        ))
      }
    </>
  )
}
Quest for Codev2.0.0
/
SIGN IN