Patterns
Patterns copied to clipboard
fix(pat navigation): Don't check query string and hash fragments.
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: https://github.com/euphorie/Euphorie/pull/447#issuecomment-1259660758
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.
Did you consider Ale's suggestion of making this configurable?
Will do that