Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

fix: move page wrapper where the ids are known #887

Merged
merged 2 commits into from
Oct 30, 2024
Merged

Conversation

spaenleh
Copy link
Member

@spaenleh spaenleh commented Oct 28, 2024

In this PR I fix the navigation crashing bug.

This bug was caused by rendering the navigation higher in the hierarchy where we potentially did not have access to the :itemId.
When moving the sidebar wrapper below where the itemId is defined we do not have a crash when moving between lessons with only the /:rootId path.

This is likely the bug that was encountered by many Safari users, as reported by @swouf.

close #886
close #773

@spaenleh spaenleh requested review from swouf, pyphilia and ReidyT October 30, 2024 12:37
Copy link

@spaenleh spaenleh self-assigned this Oct 30, 2024
@spaenleh spaenleh added the bug 🪲 Something isn't working label Oct 30, 2024
@spaenleh spaenleh added this pull request to the merge queue Oct 30, 2024
Merged via the queue into main with commit dbf4944 Oct 30, 2024
4 checks passed
@spaenleh spaenleh deleted the 886-node-in-tree branch October 30, 2024 13:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug 🪲 Something isn't working v2.21.2
Projects
None yet
2 participants