tribute icon indicating copy to clipboard operation
tribute copied to clipboard

Tribute doesnot seem to work inside bootstrap modal.

Open aju513 opened this issue 2 years ago • 2 comments

I want to list of user when writing @ inside textarea which is inside a modal but it doesnot seem to work but works if the textarea is outside of the modal.How can i fix this?

image

aju513 avatar Aug 30 '23 08:08 aju513

Did you try to change z-index for the .tribute-container class?

devfake avatar Dec 10 '24 15:12 devfake

You can use the menuContainer option to control where that menu is injected in the DOM. This allows you to have it injected inside the modal instead of being injected as a direct child of the <body> element.

Changing the z-index might be a solution for the case of a Bootstrap modal, but it won't work when using a modal based on <dialog> (no value of z-index can be enough to go over a top-layer element)

stof avatar Jan 31 '25 11:01 stof