• GeoSot's avatar
    Revamp Scrollspy using Intersection observer (#33421) · ece16012
    GeoSot authored
    
    
    * Revamp scrollspy to use IntersectionObserver
    
    * Add smooth scroll support
    
    * Update scrollspy.js/md
    
    * move functionality to method
    
    * Update scrollspy.js
    
    * Add SmoothScroll to docs example
    
    * Refactor Using `Maps` and smaller methods
    
    * Update scrollspy.md/js
    
    * Update scrollspy.spec.js
    
    * Support backwards compatibility
    
    * minor optimizations
    
    * Merge activation functionality
    
    * Update scrollspy.md
    
    * Update scrollspy.js
    
    * Rewording some of the documentation changes
    
    * Update scrollspy.js
    
    * Update scrollspy.md
    
    * tweaking calculation functionality & drop text that suggests, to deactivate target when wrapper is not visible
    
    * tweak calculation
    
    * Fix lint
    
    * Support scrollspy in body & tests
    
    * change doc example to a more valid solution
    
    Co-authored-by: default avatarXhmikosR <xhmikosr@gmail.com>
    Co-authored-by: default avatarPatrick H. Lauke <redux@splintered.co.uk>
    ece16012