-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Description
Steps to reproduce
- Click Expand all sections
- Click any section in the Contents tab
- Press the back button
FWIW, judging by the old changelog, this may have been broken for nearly a decade. However, this is now additionally reproducible on the latest build by clicking any anchor link that appears within an individual section's text, which happens in e.g. 1.1.1's Sufficient Techniques.
Expected Behavior
- You end up at the top of the page with everything still expanded
Actual Behavior
- You end up at the top of the page but techniques and "About & How to Use" are collapsed; interestingly, full descriptions are still expanded.
- The page is clearly out of sync:
- There is still a large gap from where "Show About & How to Use" appeared when it was open
- This issue can also be reproduced with specifically only this section, if you replace step 1 above with clicking "Show About & How to Use"
- The button to expand/collapse all sections still says "collapse", not "expand"; you must click it twice to get to the state you were in before
- There is still a large gap from where "Show About & How to Use" appeared when it was open
Cause
I notice that if you expand individual techniques sections one-by-one, it seems to register in the query string, whereas the expand all toggle does not. I suspect something that happens in/from applyurl is not taking the "all" toggle into account, and wonder if that toggle should also somehow be represented in the URL.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels