- Issue created by @thamas
- First commit to issue fork.
- Merge request !39Issue #3521869 by mably, thamas: Allow usage of a CSS variable for the sticky offset setting β (Merged) created by mably
- π«π·France mably
Hi @thamas, could you give a try to this issue's MR and tell me if it solves your problem?
- ππΊHungary thamas Hungary
Hello @mably,
Thanks for your quick reaction! I tested the solution but the current with the patch the TOC is not generated at all. I see an error message in the console, however: "Uncaught TypeError: Window.getComputedStyle: Argument 1 is not an object."
(Maybe I did something wrong because I tested the patch on DrupalPod, and this is the first time I use itβ¦)
- ππΊHungary thamas Hungary
Hi @mably,
Good news! I was able to test it in our project too, where we had an earlier version of the module. We updated it and applied the changes from the MR (as a patch). And it works nicely!
Thanks!
- π«π·France mably
Actually the code could fail if used with some invalid container selector, thanks for the tip.
We pushed a fix for that and merged it.
Will push a 3.2.0-rc2 release.
Thanks for all.
Automatically closed - issue fixed for 2 weeks with no activity.