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

Tooltip flickers while hovering on the button #103

Open
gowsi-03 opened this issue Apr 22, 2024 · 1 comment
Open

Tooltip flickers while hovering on the button #103

gowsi-03 opened this issue Apr 22, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@gowsi-03
Copy link

I used react-laag to create a tooltip. When I hover over the info button and button, the tooltip shows the blinking effect. How I can fix it?

tol1.mp4
@gowsi-03 gowsi-03 added the bug Something isn't working label Apr 22, 2024
@eddysapata
Copy link

add pointerEvents: "none" in your component which you are passing in renderLayer()

{(isOver ? renderLayer(
        <m.div
          ref={layerProps.ref}
          style={{
            pointerEvents: "none",
            ...layerProps.style,
          }}
        >
          <span>
            Tooltip
          </span>
        </m.div>
      ) : null}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants