When the TOC'ed content is inside a positioned element, animating HEAD and BODY doesn't help much. The use case for me is loading some content from a markdown file into a bootstrap modal; in which case the div.modal element is the one to animate.
If I could pass the animate target as an option in the .tocify() call, it will be much easier to override it.
When the TOC'ed content is inside a positioned element, animating HEAD and BODY doesn't help much. The use case for me is loading some content from a markdown file into a bootstrap modal; in which case the
div.modal
element is the one to animate.If I could pass the animate target as an option in the
.tocify()
call, it will be much easier to override it.Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.