We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Operating System: (Windows or Linux or MacOS) Windows 10 20H2 MacOS Big Sur 11.5.1
Windows
Linux
MacOS
DocFX Version Used: 2.58.0.0
Template used: (default or statictoc or contain custom template) default
default
statictoc
Steps to Reproduce:
Expected Behavior: The added query string is preserved. i.e. https://example.com?tabs=tabid-1&test=true
Actual Behavior: The added query string is removed, only the tab's query string remains. i.e. https://example.com?tabs=tabid-1
Possible Bug Location: Inside docfx.js, line 1001, updateTabsQueryStringParam(state):
function updateTabsQueryStringParam(state) { var qs = parseQueryString(); qs.tabs = state.selectedTabs.join(); var url = location.protocol + "//" + location.host + location.pathname + "?" + toQueryString(qs) + location.hash; if (location.href === url) { return; } history.replaceState({}, document.title, url); }
var qs = parseQueryString(); should be var qs = parseQueryString(window.location.search);
var qs = parseQueryString();
var qs = parseQueryString(window.location.search);
The text was updated successfully, but these errors were encountered:
2.58.5 was released, so I think this could now be closed.
Sorry, something went wrong.
No branches or pull requests
Operating System: (
Windows
orLinux
orMacOS
)Windows 10 20H2
MacOS Big Sur 11.5.1
DocFX Version Used:
2.58.0.0
Template used: (
default
orstatictoc
or contain custom template)default
Steps to Reproduce:
Expected Behavior:
The added query string is preserved.
i.e. https://example.com?tabs=tabid-1&test=true
Actual Behavior:
The added query string is removed, only the tab's query string remains.
i.e. https://example.com?tabs=tabid-1
Possible Bug Location:
Inside docfx.js, line 1001, updateTabsQueryStringParam(state):
var qs = parseQueryString();
should bevar qs = parseQueryString(window.location.search);
The text was updated successfully, but these errors were encountered: