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

4.2.11 no longer adds global __react_component_tooltip style #650

Closed
patricekaufmann opened this issue Nov 23, 2020 · 7 comments · May be fixed by Dman247/freeCodeCamp#197
Closed

4.2.11 no longer adds global __react_component_tooltip style #650

patricekaufmann opened this issue Nov 23, 2020 · 7 comments · May be fixed by Dman247/freeCodeCamp#197

Comments

@patricekaufmann
Copy link

The project I use this on has 2 entry points and it works for one entry point while it does not work for the other one. It used to work for both. The global style tag is missing, containing

    display: inline-block;
    font-size: 13px;
    left: -999em;
    opacity: 0;
    padding: 8px 21px;
    position: fixed;
    pointer-events: none;
    transition: opacity 0.3s ease-out;
    top: -999em;
    visibility: hidden;
    z-index: 999;```

It happens only in 4.2.11, still working in 4.2.10.
@gajus
Copy link

gajus commented Nov 25, 2020

If anyone runs into this while using next.js, just adding https://github.com/wwayne/react-tooltip/blob/master/src/index.scss to your global styles fixes the issue.

@sumthief
Copy link
Contributor

sumthief commented Dec 2, 2020

Hey

I think my previous PR could broke this functionality.

I tried to fix it (looks like condition for host is unnecessary)

Checked on different apps:

  • Clean CRA app
  • Clean CRA app with tooltip rendered in Shadow DOM
  • App inside iframe
  • App inside Custom Element
  • App inside Custom Element with Shadow DOM

Please could someone check this fix and give feedback about it?

@gjvoosten
Copy link

@sumthief That doesn't appear to fix it for us: still shows a black line at the top of the content block (where the tooltip container is), shows the tooltip at the top of the content block instead of where it should be, and the tooltip also no longer hides itself. None of this is the case with 4.2.10.

@sumthief
Copy link
Contributor

sumthief commented Dec 9, 2020

Okay, It was blind try to fix it and it doesn't work 🙁

Can someone provide minimal repository for reproducing this issue?

@BoresXP
Copy link

BoresXP commented Dec 11, 2020

This happened for me too.
Let's see why it happens. injectStyles should do the trick but it doesn't because domRoots is empty.
This happens because getTargetArray returns empty array here.
getTargetArray searches for any element having data-tip attribute and data-for with id of current tooltip (or no data-for if tooltip has no id). If there are no such element in DOM (you add them dynamically for example) default styles will never be inserted because injectStyles is called only once from componentDidMount.
Solution here will be simple: fallback do nearest head section to tooltip itself if no elements with data-tip exists.

@laurenz-glueck
Copy link

Will this issue be fixed anytime soon?

wwayne pushed a commit that referenced this issue Feb 16, 2021
## [4.2.14](v4.2.13...v4.2.14) (2021-02-16)

### Bug Fixes

* **styles:** change style injection way ([#668](#668)) ([1e10cce](1e10cce)), closes [#650](#650)
@gjvoosten
Copy link

I can confirm that release 4.2.14 does indeed fix this issue. 👍

gjvoosten added a commit to NCI-Agency/anet that referenced this issue Feb 16, 2021
gjvoosten added a commit to NCI-Agency/anet that referenced this issue Feb 18, 2021
github-actions bot pushed a commit to jafin/react-tooltip that referenced this issue Apr 2, 2022
# [4.3.0](v4.2.7...v4.3.0) (2022-04-02)

### Bug Fixes

* add aria hidden attribute to style tag ([ReactTooltip#703](https://github.com/jafin/react-tooltip/issues/703)) ([d60c2b7](d60c2b7))
* **aftershow:** call afterShow only after state has fully updated ([54752e8](54752e8))
* **build:** removing single quotes on cpy for windows shell ([ReactTooltip#632](https://github.com/jafin/react-tooltip/issues/632)) ([9c280af](9c280af))
* **compability:** add polyfill and change styles ([ReactTooltip#706](https://github.com/jafin/react-tooltip/issues/706)) ([b6e9a1c](b6e9a1c))
* **demo:** add working image service url. escape quotes. ([c741708](c741708))
* do not delay show if tooltip is already shown ([ReactTooltip#676](https://github.com/jafin/react-tooltip/issues/676)) ([e8b9d84](e8b9d84))
* **domexception:** revert previous changed for unexpected behavior ([85e38bb](85e38bb)), closes [ReactTooltip#667](https://github.com/jafin/react-tooltip/issues/667)
* effect and type not properly applied at first render ([a8d0e51](a8d0e51))
* **getposition:** properly determine parents with will-change: transform ([3a76250](3a76250))
* **index.js:** fix exception when testing with Jest ([ReactTooltip#682](https://github.com/jafin/react-tooltip/issues/682)) ([f885f1f](f885f1f))
* performance issue caused by excessive use of clearTimeout/Interval ([22aea50](22aea50))
* **react18:** tip not hiding with React 18 StrictMode enabled ([342311a](342311a))
* set aria-describedby value wrong when custom id ([a04d26c](a04d26c))
* **showtooltip:** check if tooltipRef is undefined ([ReactTooltip#623](https://github.com/jafin/react-tooltip/issues/623)) ([f63eab2](f63eab2))
* **src/index.js:** add accessibility support for tabbing ([ReactTooltip#695](https://github.com/jafin/react-tooltip/issues/695)) ([ae936a5](ae936a5))
* **src/index.js:** hide tooltip if blurred (tabbed out) ([ReactTooltip#699](https://github.com/jafin/react-tooltip/issues/699)) ([e0a2a1d](e0a2a1d))
* **style injection:** change style injection default root ([a00c5b7](a00c5b7)), closes [ReactTooltip#665](https://github.com/jafin/react-tooltip/issues/665)
* **styles:** add styles for shadow dom ([00d1539](00d1539)), closes [ReactTooltip#597](https://github.com/jafin/react-tooltip/issues/597)
* **styles:** change style injection way ([ReactTooltip#668](https://github.com/jafin/react-tooltip/issues/668)) ([1e10cce](1e10cce)), closes [ReactTooltip#650](https://github.com/jafin/react-tooltip/issues/650)
* **tests:** move to jest as mocha was getting difficult with ts ([9089927](9089927))
* **tests:** move to jest as mocha was getting difficult with ts ([9633b7d](9633b7d))
* **type:** added role property to types ([ReactTooltip#679](https://github.com/jafin/react-tooltip/issues/679)) ([9b49395](9b49395))

### Features

* **component:** adding "padding" property to customize padding style ([9ae765a](9ae765a))
* **typescript:** typescript ([4f93dfe](4f93dfe))
github-actions bot pushed a commit to jafin/react-tooltip that referenced this issue Apr 2, 2022
# [4.3.0](v4.2.7...v4.3.0) (2022-04-02)

### Bug Fixes

* add aria hidden attribute to style tag ([ReactTooltip#703](https://github.com/jafin/react-tooltip/issues/703)) ([d60c2b7](d60c2b7))
* **aftershow:** call afterShow only after state has fully updated ([54752e8](54752e8))
* **build:** removing single quotes on cpy for windows shell ([ReactTooltip#632](https://github.com/jafin/react-tooltip/issues/632)) ([9c280af](9c280af))
* **compability:** add polyfill and change styles ([ReactTooltip#706](https://github.com/jafin/react-tooltip/issues/706)) ([b6e9a1c](b6e9a1c))
* **demo:** add working image service url. escape quotes. ([c741708](c741708))
* do not delay show if tooltip is already shown ([ReactTooltip#676](https://github.com/jafin/react-tooltip/issues/676)) ([e8b9d84](e8b9d84))
* **domexception:** revert previous changed for unexpected behavior ([85e38bb](85e38bb)), closes [ReactTooltip#667](https://github.com/jafin/react-tooltip/issues/667)
* effect and type not properly applied at first render ([a8d0e51](a8d0e51))
* **getposition:** properly determine parents with will-change: transform ([3a76250](3a76250))
* **index.js:** fix exception when testing with Jest ([ReactTooltip#682](https://github.com/jafin/react-tooltip/issues/682)) ([f885f1f](f885f1f))
* performance issue caused by excessive use of clearTimeout/Interval ([22aea50](22aea50))
* **react18:** tip not hiding with React 18 StrictMode enabled ([342311a](342311a))
* set aria-describedby value wrong when custom id ([a04d26c](a04d26c))
* **showtooltip:** check if tooltipRef is undefined ([ReactTooltip#623](https://github.com/jafin/react-tooltip/issues/623)) ([f63eab2](f63eab2))
* **src/index.js:** add accessibility support for tabbing ([ReactTooltip#695](https://github.com/jafin/react-tooltip/issues/695)) ([ae936a5](ae936a5))
* **src/index.js:** hide tooltip if blurred (tabbed out) ([ReactTooltip#699](https://github.com/jafin/react-tooltip/issues/699)) ([e0a2a1d](e0a2a1d))
* **style injection:** change style injection default root ([a00c5b7](a00c5b7)), closes [ReactTooltip#665](https://github.com/jafin/react-tooltip/issues/665)
* **styles:** add styles for shadow dom ([00d1539](00d1539)), closes [ReactTooltip#597](https://github.com/jafin/react-tooltip/issues/597)
* **styles:** change style injection way ([ReactTooltip#668](https://github.com/jafin/react-tooltip/issues/668)) ([1e10cce](1e10cce)), closes [ReactTooltip#650](https://github.com/jafin/react-tooltip/issues/650)
* **tests:** move to jest as mocha was getting difficult with ts ([9089927](9089927))
* **tests:** move to jest as mocha was getting difficult with ts ([9633b7d](9633b7d))
* **type:** added role property to types ([ReactTooltip#679](https://github.com/jafin/react-tooltip/issues/679)) ([9b49395](9b49395))

### Features

* **component:** adding "padding" property to customize padding style ([9ae765a](9ae765a))
* **typescript:** typescript ([4f93dfe](4f93dfe))
github-actions bot pushed a commit to jafin/react-tooltip that referenced this issue Apr 2, 2022
# [4.3.0](v4.2.7...v4.3.0) (2022-04-02)

### Bug Fixes

* add aria hidden attribute to style tag ([ReactTooltip#703](https://github.com/jafin/react-tooltip/issues/703)) ([d60c2b7](d60c2b7))
* **aftershow:** call afterShow only after state has fully updated ([54752e8](54752e8))
* **build:** fix scope for npm ([0fe2a27](0fe2a27))
* **build:** removing single quotes on cpy for windows shell ([ReactTooltip#632](https://github.com/jafin/react-tooltip/issues/632)) ([9c280af](9c280af))
* **compability:** add polyfill and change styles ([ReactTooltip#706](https://github.com/jafin/react-tooltip/issues/706)) ([b6e9a1c](b6e9a1c))
* **demo:** add working image service url. escape quotes. ([c741708](c741708))
* do not delay show if tooltip is already shown ([ReactTooltip#676](https://github.com/jafin/react-tooltip/issues/676)) ([e8b9d84](e8b9d84))
* **domexception:** revert previous changed for unexpected behavior ([85e38bb](85e38bb)), closes [ReactTooltip#667](https://github.com/jafin/react-tooltip/issues/667)
* effect and type not properly applied at first render ([a8d0e51](a8d0e51))
* **getposition:** properly determine parents with will-change: transform ([3a76250](3a76250))
* **index.js:** fix exception when testing with Jest ([ReactTooltip#682](https://github.com/jafin/react-tooltip/issues/682)) ([f885f1f](f885f1f))
* performance issue caused by excessive use of clearTimeout/Interval ([22aea50](22aea50))
* **react18:** tip not hiding with React 18 StrictMode enabled ([342311a](342311a))
* set aria-describedby value wrong when custom id ([a04d26c](a04d26c))
* **showtooltip:** check if tooltipRef is undefined ([ReactTooltip#623](https://github.com/jafin/react-tooltip/issues/623)) ([f63eab2](f63eab2))
* **src/index.js:** add accessibility support for tabbing ([ReactTooltip#695](https://github.com/jafin/react-tooltip/issues/695)) ([ae936a5](ae936a5))
* **src/index.js:** hide tooltip if blurred (tabbed out) ([ReactTooltip#699](https://github.com/jafin/react-tooltip/issues/699)) ([e0a2a1d](e0a2a1d))
* **style injection:** change style injection default root ([a00c5b7](a00c5b7)), closes [ReactTooltip#665](https://github.com/jafin/react-tooltip/issues/665)
* **styles:** add styles for shadow dom ([00d1539](00d1539)), closes [ReactTooltip#597](https://github.com/jafin/react-tooltip/issues/597)
* **styles:** change style injection way ([ReactTooltip#668](https://github.com/jafin/react-tooltip/issues/668)) ([1e10cce](1e10cce)), closes [ReactTooltip#650](https://github.com/jafin/react-tooltip/issues/650)
* **tests:** move to jest as mocha was getting difficult with ts ([9089927](9089927))
* **tests:** move to jest as mocha was getting difficult with ts ([9633b7d](9633b7d))
* **type:** added role property to types ([ReactTooltip#679](https://github.com/jafin/react-tooltip/issues/679)) ([9b49395](9b49395))

### Features

* **component:** adding "padding" property to customize padding style ([9ae765a](9ae765a))
* **typescript:** typescript ([4f93dfe](4f93dfe))
github-actions bot pushed a commit to jafin/react-tooltip that referenced this issue Apr 2, 2022
# [4.3.0](v4.2.7...v4.3.0) (2022-04-02)

### Bug Fixes

* add aria hidden attribute to style tag ([ReactTooltip#703](https://github.com/jafin/react-tooltip/issues/703)) ([d60c2b7](d60c2b7))
* **aftershow:** call afterShow only after state has fully updated ([54752e8](54752e8))
* **build:** fix scope for npm ([4bdf75b](4bdf75b))
* **build:** fix scope for npm ([0fe2a27](0fe2a27))
* **build:** removing single quotes on cpy for windows shell ([ReactTooltip#632](https://github.com/jafin/react-tooltip/issues/632)) ([9c280af](9c280af))
* **compability:** add polyfill and change styles ([ReactTooltip#706](https://github.com/jafin/react-tooltip/issues/706)) ([b6e9a1c](b6e9a1c))
* **demo:** add working image service url. escape quotes. ([c741708](c741708))
* do not delay show if tooltip is already shown ([ReactTooltip#676](https://github.com/jafin/react-tooltip/issues/676)) ([e8b9d84](e8b9d84))
* **domexception:** revert previous changed for unexpected behavior ([85e38bb](85e38bb)), closes [ReactTooltip#667](https://github.com/jafin/react-tooltip/issues/667)
* effect and type not properly applied at first render ([a8d0e51](a8d0e51))
* **getposition:** properly determine parents with will-change: transform ([3a76250](3a76250))
* **index.js:** fix exception when testing with Jest ([ReactTooltip#682](https://github.com/jafin/react-tooltip/issues/682)) ([f885f1f](f885f1f))
* performance issue caused by excessive use of clearTimeout/Interval ([22aea50](22aea50))
* **react18:** tip not hiding with React 18 StrictMode enabled ([342311a](342311a))
* set aria-describedby value wrong when custom id ([a04d26c](a04d26c))
* **showtooltip:** check if tooltipRef is undefined ([ReactTooltip#623](https://github.com/jafin/react-tooltip/issues/623)) ([f63eab2](f63eab2))
* **src/index.js:** add accessibility support for tabbing ([ReactTooltip#695](https://github.com/jafin/react-tooltip/issues/695)) ([ae936a5](ae936a5))
* **src/index.js:** hide tooltip if blurred (tabbed out) ([ReactTooltip#699](https://github.com/jafin/react-tooltip/issues/699)) ([e0a2a1d](e0a2a1d))
* **style injection:** change style injection default root ([a00c5b7](a00c5b7)), closes [ReactTooltip#665](https://github.com/jafin/react-tooltip/issues/665)
* **styles:** add styles for shadow dom ([00d1539](00d1539)), closes [ReactTooltip#597](https://github.com/jafin/react-tooltip/issues/597)
* **styles:** change style injection way ([ReactTooltip#668](https://github.com/jafin/react-tooltip/issues/668)) ([1e10cce](1e10cce)), closes [ReactTooltip#650](https://github.com/jafin/react-tooltip/issues/650)
* **tests:** move to jest as mocha was getting difficult with ts ([9089927](9089927))
* **tests:** move to jest as mocha was getting difficult with ts ([9633b7d](9633b7d))
* **type:** added role property to types ([ReactTooltip#679](https://github.com/jafin/react-tooltip/issues/679)) ([9b49395](9b49395))

### Features

* **component:** adding "padding" property to customize padding style ([9ae765a](9ae765a))
* **typescript:** typescript ([4f93dfe](4f93dfe))
github-actions bot pushed a commit to jafin/react-tooltip that referenced this issue Apr 3, 2022
# [4.3.0-alpha.1](v4.2.7...v4.3.0-alpha.1) (2022-04-03)

### Bug Fixes

* add aria hidden attribute to style tag ([ReactTooltip#703](https://github.com/jafin/react-tooltip/issues/703)) ([d60c2b7](d60c2b7))
* **aftershow:** call afterShow only after state has fully updated ([54752e8](54752e8))
* **build:** removing single quotes on cpy for windows shell ([ReactTooltip#632](https://github.com/jafin/react-tooltip/issues/632)) ([9c280af](9c280af))
* **compability:** add polyfill and change styles ([ReactTooltip#706](https://github.com/jafin/react-tooltip/issues/706)) ([b6e9a1c](b6e9a1c))
* do not delay show if tooltip is already shown ([ReactTooltip#676](https://github.com/jafin/react-tooltip/issues/676)) ([e8b9d84](e8b9d84))
* **domexception:** revert previous changed for unexpected behavior ([85e38bb](85e38bb)), closes [ReactTooltip#667](https://github.com/jafin/react-tooltip/issues/667)
* effect and type not properly applied at first render ([a8d0e51](a8d0e51))
* **getposition:** properly determine parents with will-change: transform ([3a76250](3a76250))
* **index.js:** fix exception when testing with Jest ([ReactTooltip#682](https://github.com/jafin/react-tooltip/issues/682)) ([f885f1f](f885f1f))
* performance issue caused by excessive use of clearTimeout/Interval ([22aea50](22aea50))
* set aria-describedby value wrong when custom id ([a04d26c](a04d26c))
* **showtooltip:** check if tooltipRef is undefined ([ReactTooltip#623](https://github.com/jafin/react-tooltip/issues/623)) ([f63eab2](f63eab2))
* **src/index.js:** add accessibility support for tabbing ([ReactTooltip#695](https://github.com/jafin/react-tooltip/issues/695)) ([ae936a5](ae936a5))
* **src/index.js:** hide tooltip if blurred (tabbed out) ([ReactTooltip#699](https://github.com/jafin/react-tooltip/issues/699)) ([e0a2a1d](e0a2a1d))
* **style injection:** change style injection default root ([a00c5b7](a00c5b7)), closes [ReactTooltip#665](https://github.com/jafin/react-tooltip/issues/665)
* **styles:** add styles for shadow dom ([00d1539](00d1539)), closes [ReactTooltip#597](https://github.com/jafin/react-tooltip/issues/597)
* **styles:** change style injection way ([ReactTooltip#668](https://github.com/jafin/react-tooltip/issues/668)) ([1e10cce](1e10cce)), closes [ReactTooltip#650](https://github.com/jafin/react-tooltip/issues/650)
* **type:** added role property to types ([ReactTooltip#679](https://github.com/jafin/react-tooltip/issues/679)) ([9b49395](9b49395))

### Features

* **component:** adding "padding" property to customize padding style ([9ae765a](9ae765a))
* convert to typescript ([dc547c1](dc547c1))
jafin pushed a commit to jafin/react-tooltip that referenced this issue Sep 30, 2022
# 1.0.0-alpha.1 (2022-04-03)

### Bug Fixes

* add aria hidden attribute to style tag ([ReactTooltip#703](https://github.com/CodeForked/react-tooltip/issues/703)) ([d60c2b7](CodeForked/react-tooltip@d60c2b7))
* **aftershow:** call afterShow only after state has fully updated ([54752e8](CodeForked/react-tooltip@54752e8))
* **aphrodite_jss_deprecation:** aphrodite_jss replaced with custom solution ([fcdf7f1](CodeForked/react-tooltip@fcdf7f1))
* **aphrodite_jss_deprecation:** aphrodite_jss replaced with custom solution ([92fcf5b](CodeForked/react-tooltip@92fcf5b))
* **build:** removing single quotes on cpy for windows shell ([ReactTooltip#632](https://github.com/CodeForked/react-tooltip/issues/632)) ([9c280af](CodeForked/react-tooltip@9c280af))
* **colors:** allow customizable text, background, border, arrow colors ([9a85253](CodeForked/react-tooltip@9a85253))
* **compability:** add polyfill and change styles ([ReactTooltip#706](https://github.com/CodeForked/react-tooltip/issues/706)) ([b6e9a1c](CodeForked/react-tooltip@b6e9a1c))
* deleting warning in peer dependencies ([f30ae74](CodeForked/react-tooltip@f30ae74))
* do not delay show if tooltip is already shown ([ReactTooltip#676](https://github.com/CodeForked/react-tooltip/issues/676)) ([e8b9d84](CodeForked/react-tooltip@e8b9d84))
* **domexception:** revert previous changed for unexpected behavior ([85e38bb](CodeForked/react-tooltip@85e38bb)), closes [ReactTooltip#667](https://github.com/CodeForked/react-tooltip/issues/667)
* effect and type not properly applied at first render ([a8d0e51](CodeForked/react-tooltip@a8d0e51))
* **event:** expose the original event to `afterShow` and `afterHide` ([e2f973e](CodeForked/react-tooltip@e2f973e))
* **example:** 'made dev' works again, small fixes. ([7b286bb](CodeForked/react-tooltip@7b286bb)), closes [ReactTooltip#328](https://github.com/CodeForked/react-tooltip/issues/328) [ReactTooltip#341](https://github.com/CodeForked/react-tooltip/issues/341)
* **example:** <p> warning from react, make text match code. ([7c4c979](CodeForked/react-tooltip@7c4c979))
* **examples:** add SVG example ([72a98d7](CodeForked/react-tooltip@72a98d7))
* fix ie edge CustomEvent bug ([ReactTooltip#567](https://github.com/CodeForked/react-tooltip/issues/567)) ([b7f04f7](CodeForked/react-tooltip@b7f04f7)), closes [ReactTooltip#498](https://github.com/CodeForked/react-tooltip/issues/498)
* **getPosition Util:** Remove shouldUpdatePlace check from position check ([1f8a054](CodeForked/react-tooltip@1f8a054)), closes [ReactTooltip#574](https://github.com/CodeForked/react-tooltip/issues/574)
* **getposition:** properly determine parents with will-change: transform ([3a76250](CodeForked/react-tooltip@3a76250))
* **getPosition:** updated getPosition to fix 'maximum update depth' ([8fda305](CodeForked/react-tooltip@8fda305))
* **githubPage:** updating github page build in travis ([87b810a](CodeForked/react-tooltip@87b810a))
* **html:** remove sanitize-html-react, reduce package size ([177ac11](CodeForked/react-tooltip@177ac11)), closes [ReactTooltip#429](https://github.com/CodeForked/react-tooltip/issues/429)
* **index.js:** add missing argument so tooltip hides. ([4d3661b](CodeForked/react-tooltip@4d3661b))
* **index.js:** fix exception when testing with Jest ([ReactTooltip#682](https://github.com/CodeForked/react-tooltip/issues/682)) ([f885f1f](CodeForked/react-tooltip@f885f1f))
* **index.js:** fix state initialization ([69dea07](CodeForked/react-tooltip@69dea07))
* **index.js:** Replaced the deprecated `componentWillReceiveProps`. ([80b71ed](CodeForked/react-tooltip@80b71ed))
* **index.js:** Use correct orientation when mouse enters ([4a0da8b](CodeForked/react-tooltip@4a0da8b)), closes [ReactTooltip#388](https://github.com/CodeForked/react-tooltip/issues/388)
* install dependencies in example travis ([7ba8b28](CodeForked/react-tooltip@7ba8b28))
* **isCapture:** better guard that preserves logic ([28b8493](CodeForked/react-tooltip@28b8493))
* **isCapture:** guard use of currentTarget ([4f89a2d](CodeForked/react-tooltip@4f89a2d))
* **lint:** styles are now linted with stylelint ([3c17198](CodeForked/react-tooltip@3c17198))
* made it possible to pass uuid instead of generating one internally ([ReactTooltip#583](https://github.com/CodeForked/react-tooltip/issues/583)) ([083edfb](CodeForked/react-tooltip@083edfb)), closes [ReactTooltip#580](https://github.com/CodeForked/react-tooltip/issues/580)
* mark prop-types and uuid as external to avoid bundling them ([ReactTooltip#582](https://github.com/CodeForked/react-tooltip/issues/582)) ([fb60855](CodeForked/react-tooltip@fb60855))
* modifying example ([9dc0b2e](CodeForked/react-tooltip@9dc0b2e))
* **no_var:** no vars allowed ([c591804](CodeForked/react-tooltip@c591804))
* **overridePosition:** providing currentEvent in overridePosition ([ReactTooltip#563](https://github.com/CodeForked/react-tooltip/issues/563)) ([3e75a09](CodeForked/react-tooltip@3e75a09)), closes [ReactTooltip#513](https://github.com/CodeForked/react-tooltip/issues/513)
* performance issue caused by excessive use of clearTimeout/Interval ([22aea50](CodeForked/react-tooltip@22aea50))
* providing currentTarget in overridePosition ([ReactTooltip#564](https://github.com/CodeForked/react-tooltip/issues/564)) ([22c3bac](CodeForked/react-tooltip@22c3bac))
* **pr:** package.json fix; refactoring to exclude dependencies ([fdc17d4](CodeForked/react-tooltip@fdc17d4))
* release event listners ([ReactTooltip#534](https://github.com/CodeForked/react-tooltip/issues/534)) ([7cc1203](CodeForked/react-tooltip@7cc1203))
* **selector:** Add support for shadow DOM elements ([99be4d1](CodeForked/react-tooltip@99be4d1))
* **selector:** lint fixes ([873c2a8](CodeForked/react-tooltip@873c2a8))
* set aria-describedby value wrong when custom id ([a04d26c](CodeForked/react-tooltip@a04d26c))
* **showtooltip:** check if tooltipRef is undefined ([ReactTooltip#623](https://github.com/CodeForked/react-tooltip/issues/623)) ([f63eab2](CodeForked/react-tooltip@f63eab2))
* skip warning in example ([a555060](CodeForked/react-tooltip@a555060))
* **src/index.js:** add accessibility support for tabbing ([ReactTooltip#695](https://github.com/CodeForked/react-tooltip/issues/695)) ([ae936a5](CodeForked/react-tooltip@ae936a5))
* **src/index.js:** hide tooltip if blurred (tabbed out) ([ReactTooltip#699](https://github.com/CodeForked/react-tooltip/issues/699)) ([e0a2a1d](CodeForked/react-tooltip@e0a2a1d))
* **src/index.js:** Overwrite `delayHide` on scroll ([7a2d0b3](CodeForked/react-tooltip@7a2d0b3)), closes [ReactTooltip#474](https://github.com/CodeForked/react-tooltip/issues/474)
* **staticMethods:** fixing IE event bug ([ReactTooltip#569](https://github.com/CodeForked/react-tooltip/issues/569)) ([9acc591](CodeForked/react-tooltip@9acc591))
* string into example ([356821b](CodeForked/react-tooltip@356821b))
* **style injection:** change style injection default root ([a00c5b7](CodeForked/react-tooltip@a00c5b7)), closes [ReactTooltip#665](https://github.com/CodeForked/react-tooltip/issues/665)
* **styles:** add styles for shadow dom ([00d1539](CodeForked/react-tooltip@00d1539)), closes [ReactTooltip#597](https://github.com/CodeForked/react-tooltip/issues/597)
* **styles:** change style injection way ([ReactTooltip#668](https://github.com/CodeForked/react-tooltip/issues/668)) ([1e10cce](CodeForked/react-tooltip@1e10cce)), closes [ReactTooltip#650](https://github.com/CodeForked/react-tooltip/issues/650)
* **tooltip:** sanitize HTML to prevent XSS ([182df11](CodeForked/react-tooltip@182df11))
* **type:** added role property to types ([ReactTooltip#679](https://github.com/CodeForked/react-tooltip/issues/679)) ([9b49395](CodeForked/react-tooltip@9b49395))
* **type:** Fix global method parameter type ([ReactTooltip#585](https://github.com/CodeForked/react-tooltip/issues/585)) ([5e2b8db](CodeForked/react-tooltip@5e2b8db))
* **types:** adding types filename to package ([ReactTooltip#579](https://github.com/CodeForked/react-tooltip/issues/579)) ([05d8de2](CodeForked/react-tooltip@05d8de2))
* **types:** adding typescript d.ts file into dist ([e6300f7](CodeForked/react-tooltip@e6300f7)), closes [ReactTooltip#579](https://github.com/CodeForked/react-tooltip/issues/579)
* update uuid module ([d937e59](CodeForked/react-tooltip@d937e59))
* updating styles using transferSas ([f2f7804](CodeForked/react-tooltip@f2f7804))
* using css into example ([7d343af](CodeForked/react-tooltip@7d343af))
* using sass styles with rollup ([bb6fe48](CodeForked/react-tooltip@bb6fe48))
* **uuid:** Use uuid package for unique class names ([ReactTooltip#566](https://github.com/CodeForked/react-tooltip/issues/566)) ([c2c2243](CodeForked/react-tooltip@c2c2243))
* validate lint in pretest ([ad7add0](CodeForked/react-tooltip@ad7add0))

* Merge pull request ReactTooltip#550 from wwayne/refactoring ([4609833](CodeForked/react-tooltip@4609833)), closes [ReactTooltip#550](https://github.com/CodeForked/react-tooltip/issues/550)

### Features

* adding typescript type defs ([ReactTooltip#571](https://github.com/CodeForked/react-tooltip/issues/571)) ([cb2b921](CodeForked/react-tooltip@cb2b921))
* **clickable-prop:** add clickable prop ([a75b2be](CodeForked/react-tooltip@a75b2be)), closes [ReactTooltip#417](https://github.com/CodeForked/react-tooltip/issues/417)
* **component:** adding "padding" property to customize padding style ([9ae765a](CodeForked/react-tooltip@9ae765a))
* convert to typescript ([dc547c1](CodeForked/react-tooltip@dc547c1))
* getContent(dataTip) ([8bfbfc9](CodeForked/react-tooltip@8bfbfc9))
* **getContent:** update Travis, trigger semantic-release ([9617267](CodeForked/react-tooltip@9617267))
* **overridePosition:** Add "overridePosition" property to handle border cases and customize position ([ccb8b58](CodeForked/react-tooltip@ccb8b58))
* **overridePosition:** Added example ([7df8454](CodeForked/react-tooltip@7df8454))
* Small bug fix to previous commit ([19a8a67](CodeForked/react-tooltip@19a8a67))
* The only way to support styling react-tooltips with a strict csp is to inject the style.css di ([cf105a1](CodeForked/react-tooltip@cf105a1)), closes [ReactTooltip#340](https://github.com/CodeForked/react-tooltip/issues/340)
* **tooltip:** Add ability to hover on tooltip. Provide optional delay of updating so if the mouse p ([79342ce](CodeForked/react-tooltip@79342ce))

### Performance Improvements

* **Use sanitize-html-react instead of sanitize-html to avoid useless server side dependencies:** Us ([4b84caa](CodeForked/react-tooltip@4b84caa)), closes [ReactTooltip#424](https://github.com/CodeForked/react-tooltip/issues/424)

### BREAKING CHANGES

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