0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00
Bootstrap/site
GeoSot ece1601227
Revamp Scrollspy using Intersection observer (#33421)
* 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: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
2022-04-13 10:29:13 -07:00
..
assets Revamp Scrollspy using Intersection observer (#33421) 2022-04-13 10:29:13 -07:00
content Revamp Scrollspy using Intersection observer (#33421) 2022-04-13 10:29:13 -07:00
data Move "Navbar" before "Navs & Tabs" in sidebar 2022-04-04 10:43:17 -07:00
layouts Use Babel and ES6 in docs JS files (#31607) 2022-04-12 18:07:25 +03:00
static Use Babel and ES6 in docs JS files (#31607) 2022-04-12 18:07:25 +03:00
.eslintrc.json Use Babel and ES6 in docs JS files (#31607) 2022-04-12 18:07:25 +03:00