twbs/bootstrap

ScrollSpy clears active nav-item on Safari when rubber-band scrolling past the top of page

Closed this issue · 1 comments

ScrollSpy clears active nav-item on Safari when rubber-band scrolling past the top of page. If the first ScrollSpy target is at the very top of the page, the active nav-item that links to it will be cleared when the rubber-band effect pulls the page past the top.

scrollspysafaribug

JS Bin test case

Issue is a regression introduced by: e8af21c

Issue has been reproduced on:

  • macOS Sierra 10.12.1, Safari 10.0.1
  • iOS 10.1, Mobile Safari

Same here !

On Nov 1, 2016 12:56 AM, "Rob Ruana" notifications@github.com wrote:

ScrollSpy clears active nav-item on Safari when rubber-band scrolling past
the top of page. If the first ScrollSpy target is at the very top of the
page, the active nav-item that links to it will be cleared when the
rubber-band effect pulls the page past the top.

[image: scrollspysafaribug]
https://cloud.githubusercontent.com/assets/2592431/19869168/6c6df8ce-9f68-11e6-969b-d7a19acc81e2.gif

JS Bin test case http://jsbin.com/jukihe/edit?html,output

Issue is a regression introduced by: e8af21c
e8af21c

Issue has been reproduced on:

  • macOS Sierra 10.12.1, Safari 10.0.1
  • iOS 10.1, Mobile Safari


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#21055, or mute the thread
https://github.com/notifications/unsubscribe-auth/AEeuOsARX9bTH60oOkwN1jAnJiolwKMOks5q5kffgaJpZM4Klbxk
.