Skip to content

Button inside popover is not visible #34640

Answered by alpadev
muhammadsaeed21 asked this question in Q&A
Discussion options

You must be logged in to vote

I think you need to use data-bs-html="true" for this to work. And also add the button elements to the allowList or the sanitizer will remove it (alternatively use an <a/> element or disable the sanitization).

Here is some example: https://jsfiddle.net/y87sam34/

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@muhammadsaeed21
Comment options

@windchimee
Comment options

Answer selected by muhammadsaeed21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants