Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

Fix faq expand/collapse behavior #226

Open
3 tasks done
lpercivalDEV opened this issue Sep 27, 2019 · 1 comment
Open
3 tasks done

Fix faq expand/collapse behavior #226

lpercivalDEV opened this issue Sep 27, 2019 · 1 comment
Labels
bug Verified bug that needs a resolution help-wanted Looking for help from open source contributors

Comments

@lpercivalDEV
Copy link
Contributor

lpercivalDEV commented Sep 27, 2019

The expand/collapse behavior seems to break if you click to jump to any of the question/answer sections or click the "back to top" button. Currently only clicking on individual items works correctly.

  • items should expand/collapse when clicked on
  • [ - ] items should be able to expand/collapse when clicked on after jumping to a section (behavior only begins to work if you refresh the page after jumping to a section) *
  • items that are already open should remain open when the expand all button is clicked
  • items that are already open should close when the collapse all button is clicked

*Chris and I removed the TOC links so that this is no longer an issue.

@lpercivalDEV lpercivalDEV self-assigned this Sep 27, 2019
@lpercivalDEV
Copy link
Contributor Author

Changed HTML structure of question/answer blocks from divs to details and summary tags to take advantage of their built in visibility toggle. Currently working on fixing the bug where event listener fails to fire after jumping to another section of the page.

@johndbritton johndbritton added bug Verified bug that needs a resolution help-wanted Looking for help from open source contributors labels Nov 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Verified bug that needs a resolution help-wanted Looking for help from open source contributors
Projects
None yet
Development

No branches or pull requests

2 participants