Hello, I've encountered an issue while using Bootstrap 4 and have compiled the CSS from the Sass files using Ruby Sass 3.7.4.
Although I removed certain parts of the Sass, I don't believe there are any dependencies affecting how Tooltips function: code
, card
, badge
, jumbotron
, progress
, carousel
.
The HTML markup I am using is very simple:
<button type="button" class="btn btn-secondary" data-toggle="tooltip" data-placement="right" title="Tooltip on right">Tooltip on right</button>
However, it is rendering incorrectly like this:
https://i.sstatic.net/NAKZA.png
I have eliminated all custom CSS and am using only the compiled Bootstrap 4 CSS.
In addition, I have included bootstrap.bundle.min.js
and jquery-3.2.1.min.js
I am puzzled by this issue because the examples provided in the documentation https://getbootstrap.com/docs/4.0/components/tooltips/#examples are working as intended.
The JavaScript code to initialize the Tooltips is located in a JS file that loads when the page loads:
$(function () {
$('[data-toggle="tooltip"]').tooltip();
});
If anyone has any insights or ideas on how to resolve this, I would greatly appreciate it. Thank you!