bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

[Popover] Cannot show popover if its title or content was set dynamically

Open pmishev opened this issue 1 year ago • 0 comments

Prerequisites

Describe the issue

The element on which I am manually triggering a popover, must already have data-bs-content or data-bs-title attribute set. Otherwise, despite setting title/content using setContent() later, calling show() does not show it.

Reduced test cases

https://codepen.io/pmishev/pen/MWdmGGZ

What operating system(s) are you seeing the problem on?

Linux

What browser(s) are you seeing the problem on?

Chrome

What version of Bootstrap are you using?

5.3.3

pmishev avatar Jun 04 '24 13:06 pmishev