And I am wondering if I can incorporate it into my prototype. The thing is - I would like for it to open an overlay when toggled “on” and to close that overlay when toggled “off” ; I’ve been researching for a few hours now but it seems pretty “not straightforward”, what am I missing?
Best answer by Nate_G
@Lene_Olsen@k_zdravkov When you open an overlay any buttons underneath it will not be active (you can’t click them). So you could click a toggle button to open an overlay but then you wouldn’t be able to click the toggle button underneath the overlay to close it.
But you can get around this by showing/hiding an element.
@Lene_Olsen@k_zdravkov When you open an overlay any buttons underneath it will not be active (you can’t click them). So you could click a toggle button to open an overlay but then you wouldn’t be able to click the toggle button underneath the overlay to close it.
But you can get around this by showing/hiding an element.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.