Skip to content

If the content has text align set to center then the arrow renders incorrectly #220

Open
@raRaRa

Description

@raRaRa

Version 2.0.4

Test Case

https://codesandbox.io/s/reactjs-popup-issue-template-forked-yb5jr?file=/src/index.js

Expected Behavior

The tooltip arrow should be rendered correctly.

Actual Behavior

The arrow on the tooltip disappears when the contentStyle has textAlign set to 'center'.

With text align set to center:
image

Without:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions