Skip to content

Bootstrap 5 — Add support for non-jQuery tooltips #1569

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

zh-test-git
Copy link

@zh-test-git zh-test-git commented Jun 10, 2024

Q A
Is bugfix? ✔️
New feature? ✔️
Is backward-compatible? ✔️
Tests pass? ✔️
Fixed issues #1108
Updated README/docs?
Added CHANGELOG entry? ✔️

Quoting from the Bootstrap 5 documentation (emphasis original):

You don’t need jQuery in Bootstrap 5, but it’s still possible to use our components with jQuery [src]

The jQuery dependency for tooltips has been removed in Bootstrap 5; however, the theme file for Bootstrap 5 doesn't account for this.

This change introduces support for the jQuery-free Bootstrap tooltips, while maintaining support for the jQuery tooltips (albeit as a secondary options, not a default). I wasn't sure if this would be considered a "feature" or "bugfix", so I marked it as both. (On one hand, it introduces new capabilities; on the other hand, the fact that the "bootstrap" tooltips relied entirely on jQuery — and didn't even use Bootstrap — could be argued to be a bug).

image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants