Skip to content

Bootstrap 4 #554

@aeksco

Description

@aeksco

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

  • Migrate LESS to SCSS
    • Leverage $border-radius and $enable-rounded variables for .tour-step-background CSS
    • Use rem in favor of px
    • Replace btn-default with btn-secondary
  • Ensure compatibility with Bootstrap 4 Popovers
    • Replace .popover('destroy') with .popover('dispose')
    • Replace <div class='arrow'></div> with <div class='popover-arrow'></div> in popover template definition
  • AMD / CommonJS / Browserify Support (var tour = require('boostrap-tour);)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions