- Issue created by @SirClickALot
- 🇫🇷France mably
Hi @sirclickalot, if you give me an url, I'll have a look at it.
The CSS variable definition part is still not in production on our side yet.
- 🇬🇧United Kingdom SirClickALot Somerset
I take it all back.
The block for the mobile version of the menu was a separate one and we had not added the revised setting for: 'Scroll offset' to one based on CSS variable - Doh!
However, we have pushed everything live anyway as there is actually another connected issue that we might somehow be able to improve on through further dialogue.
Here is the page: https://bit-by-bit.org/tutorials/boolean-logic-introduction
To witness this 'extra', ...
- Refresh the page and ensure that you are at the top.
- Switch to (say) 900px
- Click LEARN - all good.
- Click LEARN again
As you will see, the subsequent click doesn't give quite the desired results because the ToC.js block itself is 'Sticky' controlled via the Sticky module → .
I suspect that there may not be anything we can do about as the block and JS controlling are separate concerns but we thought we might just flag it up.
- 🇫🇷France mably
Hi @sirclickalot, happy to see that your original problem is fixed.
May be you could create another issue for the dynamic resize handling without having to reload the page?
- 🇫🇷France mably
We finally had the CSS variable offset feature deployed in production for the new Bordeaux City website: https://www.bordeaux.fr/