question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

v5 - Tooltip customClass doesn't appear

See original GitHub issue

When I use customClass as data-bs-customClass it doesn’t appear anywhere - see fiddle. Link to fiddle

I’m using it on Windows, with latest Firefox (85.0) and Bootstrap Bundle JS (Latest v5.0.0-beta1) with jQuery 3.5.1

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
rohit2sharma95commented, Feb 5, 2021

Yeah, the right attribute it’s data-bs-customclass.

But data-bs-customclass does not work either. It should be customClass in javaScript and data-bs-custom-class in HTML. Needs to be consistent.

@Callixor You can use data-bs-custom-class="class-1" until it is not fixed 🙂

0reactions
rohit2sharma95commented, Feb 5, 2021

But the right way is to change the case type of the option name when using via data-attributes (From customClass to custom-class)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tooltips · Bootstrap v5.0
Documentation and examples for adding custom Bootstrap tooltips with CSS and JavaScript using CSS3 for animations and data-bs-attributes for local title ...
Read more >
Adding custom class to tooltip - Stack Overflow
I've created a small extension for Bootstrap Tooltip plugin, which allows us to add custom classes for tooltips by using customClass parameter in...
Read more >
Tooltips · Boosted v5.2
You can customize the appearance of tooltips using CSS variables. We set a custom class with data-bs-custom-class="custom-tooltip" to scope our custom ...
Read more >
How to Create Tooltips with Bootstrap 5 - Tutorial Republic
A tooltip is a small pop up that appears when user places the mouse pointer over an element ... For example, instead of...
Read more >
Bootstrap 5 Crash Course Tutorial #15 - Tooltips - YouTube
Bootstrap 5 Crash Course Tutorial #15 - Tooltips. Watch later. Share. Copy link. Info. Shopping. Tap to unmute. If playback doesn't begin ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found