Skip to main content

Tool tip is showing behind the modal

  • March 6, 2023
  • 21 replies
  • 1091 views

  • Participating Frequently

Hi,

I am using Vibe Modal in my code.

The tool tip name(close) for closing button of the modal is showing behind the modal.

Please refer to the screen shot for your reference. And help us as soon as possible.

21 replies

Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • March 7, 2023

Hello there @Priya,

Would you be able to provide a screen recording in which you show your view with the modal closed, then open it and show the tool tip?


  • Author
  • Participating Frequently
  • March 9, 2023

Hi @Matias.Monday ,

Please refer the below link for the demo video for your more reference.

https://drive.google.com/drive/folders/1GxKvDpgYAvPIh7DrSolIlpQZly0V8QIr?usp=share_link


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • March 9, 2023

Thank you very much @Priya !!

I will take this with the team in charge of the design system and let you know when they reply 🙂

Cheers,
Matias


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • March 9, 2023

Hello again @Priya,

Our team will take a look into it.

For a quick fix, the tooltip can receive a zIndex property (please check out this documentation about how to use it) and the current modal zIndex is --monday-modal-z-index: 10000; so if you give this element a className and in your CSS file, you use that className and apply z-index: 10001; this should put it on top of the modal!


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • March 9, 2023

Hello again @Priya,

Our team in charge of the design system would like to get in contact with you via email.

Would that be OK?

Would it be OK for us to use the email address that you used to create your community user?


  • Author
  • Participating Frequently
  • March 14, 2023

Hi @Matias.Monday,

The above given styles does not work for me.

Please refer the below screenshot and help me.

image


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • March 14, 2023

Hello again @Priya,

Our team in charge of the design system would like to get in contact with you via email. You can take this with them directly.

Would that be OK?

Would it be OK for us to use the email address that you used to create your community user?


  • Author
  • Participating Frequently
  • March 25, 2023

Hi @Matias.Monday,

Apologies for the delay in my response! I got stuck up in another issue.

Sure, Please make sure the email contact with the design team. That works for me.

Thanks in Advance!
Priya


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • March 26, 2023

Sounds good @Priya!

I will let them know 🙂


  • Participating Frequently
  • April 23, 2024

Hi @Matias.Monday,

What is the resolution here. I have the same problem.

Best


  • Participating Frequently
  • April 24, 2024

When I am using tables or modal the tooltip gets behind. Can I increase the z-index of tooltip globally?


MASO
Forum|alt.badge.img
  • New Participant
  • April 24, 2024

My workaround for the “close” button tooltip in Modal components has been to just set the closeButtonAriaLabel attribute to empty in its ModalHeader, because it still doesn’t seem to be fixed yet, and it’s not a big deal UX wise:

<Modal>
<ModalHeader closeButtonAriaLabel="" />
</Modal>

For anything else, I started using the wrapping Tooltip component which has an explicit zIndex attribute, just like below with a Button child:

<Tooltip zIndex="2000">
<Button>Label</Button>
</Tooltip>

It’s maybe not ideal, but has worked for me in the past.

– Markus


dvdsmpsn
Forum|alt.badge.img+1
  • Participating Frequently
  • April 24, 2024

Another answer would be to call the standard modal:

monday.execute(“openAppFeatureModal”, { urlPath, urlParams, height, width }).then((res) => {
console.log(res.data);
{“close”: true}
// The above is a callback to see if a user closed the modal from the inside. This is useful should you want to run some logic within the app window.
});

This has the added bonus of opening in the center of the browser and adding a blanket over the entire viewport rather than just a smaller part of the UI.

You might then however need to use something like postMessage to communicate between iframes though.


  • Participating Frequently
  • April 24, 2024

Hi @MASO and @dvdsmpsn,

Thanks for your replies. For modal display it is ok. There are some workarounds. But what if I want to use tables? I use the <Table/> component, due to the fact that the z-index of <TableHeader/> component is greater than tooltip’s z-index the tooltip gets behind of table headers. For table rows, it is ok.

Do you know any workaround for this issue?

Best


MASO
Forum|alt.badge.img
  • New Participant
  • April 24, 2024

I haven’t worked explicitly with the <Table /> component yet, so I sadly can’t give you any advice on this.

– Markus


  • Participating Frequently
  • April 24, 2024

Thank you @MASO


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • April 24, 2024

Hello there @apsimos,

If you still need help with this, would you be able to please fill this form (https://support.monday.com/hc/en-us/requests/new?ticket_form_id=13855862562962) adding as much information as possible to it (such as account ID, board IDs, item IDs, timestamps, etc.) so that our team can take a look into it?

Looking forward to hearing from you 😀

Cheers,
Matias


  • Participating Frequently
  • April 24, 2024

Hi @Matias.Monday

I created the issue.

Best


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • April 25, 2024

Thank you @apsimos!

We will speak there!


  • Participating Frequently
  • May 9, 2024

Hi,

I had escalated this issue and a support member from monday gave me a solution which worked for me. Just put this css in your css file and it should work.

.monday-style-dialog-content-wrapper {
    z-index: 10000;
}

@MASO you can try this if you still have the problem. Just fyi.


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • May 9, 2024

Thank you @apsimos for sharing it!