Skip to content

Check if data-original-title exists before assign it to the title attribute#165

Open
lucaprevitali wants to merge 1 commit intotvkhoa:masterfrom
lucaprevitali:fix/null-as-title
Open

Check if data-original-title exists before assign it to the title attribute#165
lucaprevitali wants to merge 1 commit intotvkhoa:masterfrom
lucaprevitali:fix/null-as-title

Conversation

@lucaprevitali
Copy link

When the destroy function is called the title attribute is set to data-original-title value even if it is undefined or null.
I discovered this issue by not passing the title prop to the Tooltip component and adding some custom behaviour to the popper using open and disabled props.
I just add a check for that value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant