Hi!
This was the first search result on Google when I was looking up the same issue. Using
$(document).ready(function () {
$('[data-toggle="tooltip"]').tooltip()
}
OR
Livewire.onLoad(() => {
$('[data-toggle="tooltip"]').tooltip()
})
resulted in the same behavior mentioned by @making-digital.
My solution was:
<script>
document.addEventListener("DOMContentLoaded", () => {
$(function () {
$('[data-toggle="tooltip"]').tooltip()
})
Livewire.hook('message.processed', (message, component) => {
$(function () {
$('[data-toggle="tooltip"]').tooltip()
})
})
});
</script>
I found this info from the Livewire Lifecycle Hooks document and the ‘message.processed’ hook felt like it may work.
Hopefully this is helpful to someone stumbling into something similar!