You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/08/08 02:21:37 UTC

[GitHub] [camel-website] AemieJ commented on pull request #446: CAMEL-15337: create toc for hugo based content

AemieJ commented on pull request #446:
URL: https://github.com/apache/camel-website/pull/446#issuecomment-670809878


   @zregvart I did research on **Intersection Observer** and tried its implementation but on observing, it is only possible with a parent and child element. Here, `article.doc` is the parent ( root ) element however it doesn't cover a certain height thus the visibility of the target ( all the headings ) can't be compared based on it. Also, it has a loophole, the threshold triggers for any of its headings on the page.
   
   Other than that, I modified the implementation of logic, currently, it works pretty efficiently ( even when the font-size within browser settings is modified )


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org