Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tribute doesnot seem to work inside bootstrap modal. #901

Open
aju513 opened this issue Aug 30, 2023 · 2 comments
Open

Tribute doesnot seem to work inside bootstrap modal. #901

aju513 opened this issue Aug 30, 2023 · 2 comments

Comments

@aju513
Copy link

aju513 commented Aug 30, 2023

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

@devfake
Copy link

devfake commented Dec 10, 2024

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

@stof
Copy link
Contributor

stof commented Jan 31, 2025

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants