The sidebar currently collapses automatically whenever an element in the content area gets focused. This behavior feels rather disruptive for two reasons:
- it causes the example content to shift under the cursor at the first click
- it makes browsing the examples more difficult because switching from one to the next requires reopening the sidebar
If I may, I'd recommend to not auto-close the sidebar, or to at least restrict the behavior to very narrow viewports.
Edit: The behavior appears to be controlled here:
|
<div class="wrapper-content" onclick={() => (show = false)} role="none"> |
The sidebar currently collapses automatically whenever an element in the content area gets focused. This behavior feels rather disruptive for two reasons:
If I may, I'd recommend to not auto-close the sidebar, or to at least restrict the behavior to very narrow viewports.
Edit: The behavior appears to be controlled here:
filter/svelte/demos/common/Index.svelte
Line 188 in 55d7a1b