Skip to content

Conversation

@manuelwedler
Copy link
Member

@manuelwedler manuelwedler commented Oct 2, 2025

This enables a generalized way to scroll to elements by their id.

Check: https://staging.sourcify.dev/#/#contract-stats

@netlify
Copy link

netlify bot commented Oct 2, 2025

Deploy Preview for sourcify-ui ready!

Name Link
🔨 Latest commit 1fe839e
🔍 Latest deploy log https://app.netlify.com/projects/sourcify-ui/deploys/68de2f9218037a000805e6fe
😎 Deploy Preview https://deploy-preview-33--sourcify-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment on lines +85 to 92
if (pathname === '/dataset-playground') {
const element = document.getElementById('dataset-playground');
if (element) {
setTimeout(() => {
element.scrollIntoView({ behavior: 'smooth', });
}, 100);
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose we cannot delete this because we already shared links with this link?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, exactly. would have been better to use this approach from the beginning.

Copy link
Member

@marcocastignoli marcocastignoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@manuelwedler manuelwedler merged commit 5db4cb0 into main Oct 2, 2025
6 checks passed
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.

3 participants