Theming your own components is not behaving as other items in the Contents panel. Even clocking on it is higlightinng the previous item in that item list.
Hi,
Greetings!
Could you please check on this inconsistency in documentation.
Thanks
Any updates on the above issue?
any updates?
This is happening since we didn't scroll past the anchor point. The link is not marked as "active".
private isLinkActive(currentLink: any, nextLink: any): boolean {
// A link is considered active if the page is scrolled passed the anchor without also
// being scrolled passed the next link
const scrollOffset = this.getScrollOffset();
return scrollOffset >= currentLink.top && !(nextLink && nextLink.top < scrollOffset);
}