freenowtech / freenowtech/wave

Tooltip does not work when it has an Icon (AlertIcon) as a descendant

Open
#211 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
67
Forks
31
Avg merge
1d 8h
Merged PRs (30d)
4

Description

- `@freenow/wave` version: 1.19.0

### Relevant code

```jsx

```

### What was expected to happen?

The tooltip does not appear when hovering over the AlertIcon. However, wrapping the icon in a div or a span makes the tooltip appear.

### Reproduction

Bug reproduced [here](https://codesandbox.io/s/wave-playground-forked-5542y9?file=/src/App.js)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.