Skip to content

Conversation

@thet
Copy link
Member

@thetthet commented Sep 28, 2022

When setting navigation markers based on URL comparison do not set the query string and hash fragments. When using hash navigation within one page, use pat-scroll to mark items as current.

This fixes a problem described in: euphorie/Euphorie#447 (comment)

It has the drawback that URL based detection of the current item when using navigation based on query strings or hash fragments (e.g. a table of contents) would not be possible anymore. But that might be corner cases.

When setting navigation markers based on URL comparison do not set the query string and hash fragments. When using hash navigation within one page, use pat-scroll to mark items as current.
@reinhardt
Copy link
Contributor

Did you consider Ale's suggestion of making this configurable?

@thet
Copy link
MemberAuthor

thet commented Sep 29, 2022

Will do that

@thetthet marked this pull request as draft July 12, 2023 08:34
Sign up for freeto 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

@thet@reinhardt