bootstrap-tour
bootstrap-tour copied to clipboard
autoscroll: true fails on when used on modal
It seems the scroll is trying to work, but not 100% It is scroling the page below the modal, yet the element its attaching to is on a modal layer and should be scrolling the modal not the base page.
Bootstrap Tour in modal auto scroll not working. find attech file.
Any updates on this?
I recently managed to break a perfectly working Bootstrap Tour and proceeded to pull my hair out for 45 minutes trying everything to fix it.
If you are also having this scrolling issue, check 2 things:
- Make sure you download the latest version of bootstrap and the CSS that goes with it
- Check your DOCTYPE header.
For the proper DOCTYPE, check here: https://www.w3schools.com/tags/tag_doctype.asp
"XHTML 1.0 Transitional" works best for me. Auto-scrolling issue was resolved immediately after I changed it.
Any updates on this? I have the same problem