sorich87 / bootstrap-tour

Quick and easy product tours with Twitter Bootstrap Popovers
http://bootstraptour.com
MIT License
4.44k stars 942 forks source link

Bootstrap 4 #554

Open aeksco opened 8 years ago

aeksco commented 8 years ago

Are there any plans to make this project Bootstrap 4 compliant? I think the following changes would move this in the right direction:

I'm currently using BS4 and I've only been able to get tours to work when I include the standalone files - this results in some CSS conflicts and inconsistent popover placement and behavior.

If we could create a milestone to make this project compatible with Bootstrap 4 I would be happy to contribute to reaching those goals - I've working on a large project that would benefit tremendously from a consistent tour experience and at the moment there isn't an open-source alternative that's as well supported and maintained as bootstrap-tour.

Edits: elaborated on required changes for BS4 compatibility

sorich87 commented 8 years ago

@aeksco of course, we want to make this project Bootstrap 4 compliant.

Are these the only changes needed for compatibility?

sorich87 commented 8 years ago

It looks like rem question is not settled yet https://github.com/twbs/bootstrap/issues/19943.

aeksco commented 8 years ago

@sorich87 As far as I can tell those are the only changes required for Bootstrap 4 compliance. I've got a feature branch working with the aforementioned changes - I'll have some time this afternoon to push to my remote. Once that's in place we can discuss how we want to manage these breaking changes - a bootstrap-4 branch would be a good place to isolate this development. I'll post an update once my changes are pushed.

sorich87 commented 8 years ago

Ok. Thanks!

I think we can make these changes backward compatible:

kfugger commented 8 years ago

Happy to hear that you are working on Bootstrap 4 compatibility! I have also experienced issues related to modal/popover misplacement and inability to exit the tour. Will you push these changes to a new branch?

julkue commented 8 years ago

@sorich87 In the meantime you should point out the required Bootstrap version in the "dependencies" documentation.

julkue commented 8 years ago

"Compatible with Bootstrap >= 2.3.0" is wrong! It must be ">= 2.3.0 < 4"

occasl commented 7 years ago

Any update on this? I'd love to use this feature in bootstrap 4.

aeksco commented 7 years ago

Bootstrap 4 beta was just released - so we're likely going to see fewer breaking changes that we did with the alpha releases. I'm going to continue my work on this issue - I'll post an update here as things take shape!

azyzio commented 7 years ago

Found a change that is necessary for the tour to work properly Popovers are now using: .popover-header instead of .popover-title .popover-body instead of .popover-content Should be updated in the template

sorich87 commented 7 years ago

The latest version in master should be compatible with Bootstrap, except for the orphan option.

azyzio commented 6 years ago

Hey Ulrich, is there any progress on enabling orphan option?

marclaporte commented 6 years ago

Some work has happened here: https://github.com/sorich87/bootstrap-tour/pull/643

mikesutton commented 6 years ago

I think this is a CSS issue, I played around with it and in the end I extracted the orphan css into another file and overwrote it as follows:

.popover[class*="tour-"].orphan { left: 50% !important; top: 50% !important; margin-top: 0; position: absolute; transform: translate(-50%, -50%) !important; }

put this after the bootstrap-tour.css entry in your code. Should work.

viktorsmari commented 5 years ago

Is Bootstrap 4 compatible or not? I am having issues out of the box, nothing appears on screen, but when I enable backdrop:true I can see the element I chose in the first step, but nothing else, just a grey screen.

dragontheory commented 5 years ago

Same here! Please advise as to whether Bootstrap-Tour is compatible with Bootstrap 4+. Thank you!

dragontheory commented 5 years ago

Actually is Bootstrap-Tour compatible with Bootstrap 4.2.1? Thanks again!

vivekapex commented 4 years ago

Any progress here? I need to use it for my app but latest build files contain bootstrap css version v3.1.0 and popover version 3.3.7. My tour version is 0.12.0 and bootstrap version is 4.3.1.