freshworks / crayons

🖍️ Crayons - A UI Kit comprising of web components for building Freshworks Apps!

Home Page:https://crayons.freshworks.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] - Tooltip is not displayed in right slider modal

vatala-aiswarya opened this issue · comments

Component
fw-tooltip

Describe the bug
Tooltip content is not getting displayed on hover over the fw-button when the button is inside fw-modal which is right slider

To Reproduce
Steps to reproduce the current behavior:

  1. Go to fw-modal
  2. Hover on fw-button which is wrapped inside fw-tooltip
  3. No tooltip will be shown
  4. This behaviour is same even with click feature of tooltip

Expected behavior
Tooltip must be shown in the right position when hover on the respective element which has tooltip configured

Screenshots
Screenshot 2023-06-15 at 12 45 13 PM

Additional context
This also happens with regular center placed modal but during that time tooltip is shown but in the wrong position.
Screenshot 2023-06-15 at 12 42 56 PM

This issue is fixed using hoist in fw-tooltip. Thanks to @srivalli-sivaramasankaran for helping me on this.