You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current side navigation (ToC) in the documentation closes all other sections when a user navigates to a specific section, leaving only the selected one open. We need to enhance the ToC component to ensure that the state is preserved, allowing all previously opened sections to remain open when a user navigates to a section.
Screen.Recording.2024-11-13.at.13.00.41.mov
Task:
Update the ToC component to maintain the open/close state of sections across navigation.
Ensure that multiple sections can be open simultaneously after navigation.
Test the updated functionality to confirm state persistence.
The current side navigation (ToC) in the documentation closes all other sections when a user navigates to a specific section, leaving only the selected one open. We need to enhance the ToC component to ensure that the state is preserved, allowing all previously opened sections to remain open when a user navigates to a section.
Screen.Recording.2024-11-13.at.13.00.41.mov
Task:
Location of the code where changes need to be made:
https://github.com/diplodoc-platform/components/blob/master/src/components/Toc/Toc.tsx
The text was updated successfully, but these errors were encountered: