Skip to content

Conversation

@Animesh-Parashar
Copy link

fixes #83

Motivation
Anchor links to EIPs failed when the target EIP was inside a collapsed section, since the element was not rendered at scroll time.

Description of Changes
When a hash references an EIP, the page now expands any collapsible section containing that EIP before performing the scroll. Scrolling is moved to useLayoutEffect to ensure the DOM node exists. No UI or data model changes.

Verification / Testing
Verified that direct links to EIPs in collapsed sections now expand and scroll correctly, and that behavior for non-collapsed sections is unchanged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade specific EIP anchors silently do nothing when DFId

1 participant