svelte
svelte copied to clipboard
Highlighting the current chapter in the interactive tutorial chapter selection dropdown
Describe the problem
I sometimes find myself going back and forth between chapters in the tutorial and it can be difficult to find which chapter (option) I am on currently. It would be nice to have the currently active chapter highlighted the select options somehow.
Describe the proposed solution
I don't think it would just be a case of adding a state variable to keep track of the id of the currently active lesson and apply a conditional style to that option to that id from the dropdown? I haven't looked at the code for the docs but I'm happy to go back to it and try and implementing it myself!
Importance
nice to have
Looks like this should be opened in https://github.com/sveltejs/svelte.dev/issues instead
My bad, will move it there!