cables-gl / cables_docs

cables documentation docs.cables.gl
https://cables.gl/docs/docs
45 stars 16 forks source link

Sidebar toggle not recognising the initial state #845

Closed pandrr closed 2 months ago

pandrr commented 2 months ago

Discussed in https://github.com/cables-gl/cables_docs/discussions/843

Originally posted by **mariomatasystems** September 5, 2024 Trying to style the toggle in the sidebar to include hover states. Having this problem where the toggle isn't recognising the initial true state. You'll see in this example that when you hover the toggle appears to switch. After an initial interaction everything works as expected https://dev.cables.gl/edit/AtVVVm