-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(esl-anchornav): create esl-anchornav to provide anchor navigation #2577
Conversation
public set sticked(value: boolean) { | ||
if (this._sticked === value) return; | ||
this._sticked = value; | ||
this.$$attr('sticked', value); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't sound good to have potentially conflicting marker attributes. Do we really need it ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we need marker for sticky state styling
if (y <= topBoundary) active = item; | ||
}); | ||
if (active) { | ||
this._items.forEach(($item, id) => $item.classList.toggle('active', id === active.id)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For wave 2: customization for active class
…3309 test(e2e): update snapshots (via GitHub Actions) for refs/heads/feat/esl-anchornav
🎉 This issue has been resolved in version 5.0.0-beta.31 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Closes: #2578