mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-17 21:20:23 +00:00
When the rubberband effect causes Safari to scroll past the top of the page, the value of scrollTop becomes negative. If the offset of the first ScrollSpy target is 0 - essentially if the target is at the top of the page - then ScrollSpy should not clear the active item. Conceptually, the first item should remain active when rubberbanding past the top of the page. This commit fixes issue #21055 by verifying the first scrollspy target is not at the top of the page before clearing the active nav-item. |
||
|---|---|---|
| .. | ||
| alert.js | ||
| button.js | ||
| carousel.js | ||
| collapse.js | ||
| dropdown.js | ||
| modal.js | ||
| phantom.js | ||
| popover.js | ||
| scrollspy.js | ||
| tab.js | ||
| tooltip.js | ||