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

data-pr-{options} on Global Tooltip doesn't work #1811

Closed
migumelar opened this issue Feb 13, 2021 · 1 comment
Closed

data-pr-{options} on Global Tooltip doesn't work #1811

migumelar opened this issue Feb 13, 2021 · 1 comment
Assignees
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@migumelar
Copy link

migumelar commented Feb 13, 2021

When we use global tooltip, the documentation says we can data-pr-{options} on each component, but i cannot make it work.

This is simplified example.

<Tooltip target=".customClassName"  />
<div className="customClassName" data-pr-tooltip="this is tooltip message"  data-pr-position="top" />

The result of code above is the tooltip is succesfully render but on default position (right), seems like it ignore data-pr-{options}

Am I misunderstanding the documentation?

@migumelar migumelar changed the title How to use data-pr-{options} on Global Tooltip? data-pr-{options} on Global Tooltip doesn't work Feb 13, 2021
@mertsincan mertsincan self-assigned this Feb 22, 2021
@mertsincan mertsincan added the Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add label Feb 22, 2021
@mertsincan mertsincan added this to the 6.1.0 milestone Feb 22, 2021
@mertsincan
Copy link
Member

Fixed now. I'll update Tooltip doc and add new demos with target element.

Best Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

No branches or pull requests

2 participants