{"record":{"id":"4bd1185140cfa94f","repo":"facebook/react","slug":"566","errorCode":"566","errorMessage":"FragmentInstance.scrollIntoView() does not support scrollIntoViewOptions. Use the alignToTop boolean instead.","messagePattern":"FragmentInstance\\.scrollIntoView\\(\\) does not support scrollIntoViewOptions\\. Use the alignToTop boolean instead\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js","lineNumber":3649,"sourceCode":"  resolvedAlignToTop: boolean,\n): void {\n  const range = textNode.ownerDocument.createRange();\n  range.selectNodeContents(textNode);\n  const rect = range.getBoundingClientRect();\n  const scrollY = resolvedAlignToTop\n    ? window.scrollY + rect.top\n    : window.scrollY + rect.bottom - window.innerHeight;\n  window.scrollTo(window.scrollX + rect.left, scrollY);\n}\n\nif (enableFragmentRefsScrollIntoView) {\n  // $FlowFixMe[prop-missing]\n  FragmentInstance.prototype.scrollIntoView = function (\n    this: FragmentInstanceType,\n    alignToTop?: boolean,\n  ): void {\n    if (typeof alignToTop === 'object') {\n      throw new Error(\n        'FragmentInstance.scrollIntoView() does not support ' +\n          'scrollIntoViewOptions. Use the alignToTop boolean instead.',\n      );\n    }\n    // First, get the children nodes\n    const children: Array<Fiber> = [];\n    traverseFragmentInstancesAndTextInstances(\n      this._fragmentFiber,\n      collectChildren,\n      children,\n    );\n\n    const resolvedAlignToTop = alignToTop !== false;\n\n    // If there are no children, we can use the parent and siblings to determine a position\n    if (children.length === 0) {\n      const hostSiblings = getFragmentInstanceOrTextInstanceSiblings(\n        this._fragmentFiber,","sourceCodeStart":3631,"sourceCodeEnd":3667,"githubUrl":"https://github.com/facebook/react/blob/eafeac097ba51e1eab809c07102126bd5f8e5425/packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js#L3631-L3667","documentation":"Error \"FragmentInstance.scrollIntoView() does not support scrollIntoViewOptions. Use the alignToTop boolean instead.\" thrown in facebook/react.","triggerScenarios":"Thrown at packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js:3649 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"eafeac097ba51e1eab809c07102126bd5f8e5425","analyzedAt":"2026-08-21T22:01:08.818Z","schemaVersion":2},"datasetVersion":"2026-08-21T23:17:16.201Z"}