Twitter Bootstrap scrollspy always selecting last element

后端 未结 13 1665
旧巷少年郎
旧巷少年郎 2020-12-08 04:22

I have an issue with scrollspy, recreated in this fiddle: http://jsfiddle.net/jNXvG/3/

As seen in the demo, the ScrollSpy plugin always keeps the last menu item sele

13条回答
  •  猫巷女王i
    2020-12-08 05:05

    I had the exact same problem and for me, adding height: 100% to the body element was the fix.

    (stricly nothing else seemed to make it work)

提交回复
热议问题