Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fixes Typos #399

Merged
merged 1 commit into from
Jul 19, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
- [#162](https://github.com/wwayne/react-tooltip/pull/162) Fix for #158, getposition error (@wwayne)

### 3.1.1 (2016/07/27 13:03 +00:00)
- [#151](https://github.com/wwayne/react-tooltip/pull/151) Update postion calculation so that it can calculate continous tootlip (@wwayne)
- [#151](https://github.com/wwayne/react-tooltip/pull/151) Update postion calculation so that it can calculate continous tooltip (@wwayne)

### 3.1.0 (2016/07/27 08:49 +00:00)
- [#149](https://github.com/wwayne/react-tooltip/pull/149) Update algorithm for get positon to fix the shake problem #146 (@wwayne)
Expand Down
8 changes: 4 additions & 4 deletions example/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class Test extends React.Component {
<p className="sub-title"></p>
<div className="example-jsx">
<div className="side">
<a data-for='custom-class' data-tip='hover on me will keep the tootlip'>(・ω´・ )</a>
<a data-for='custom-class' data-tip='hover on me will keep the tooltip'>(・ω´・ )</a>
{/* <a data-for='custom-class' data-tip='' data-tip-disable='true'>empty testing</a> */}
<ReactTooltip id='custom-class' className='extraClass' delayHide={1000} effect='solid'/>
</div>
Expand All @@ -192,7 +192,7 @@ class Test extends React.Component {
<br />
<pre className='example-pre'>
<div>
<p>{"<a data-tip='hover on me will keep the tootlip'>(・ω´・ )́)</a>\n" +
<p>{"<a data-tip='hover on me will keep the tooltip'>(・ω´・ )́)</a>\n" +
"<ReactTooltip className='extraClass' delayHide={1000} effect='solid'/>\n" +
".extraClass {\n" +
" font-size: 20px !important;\n" +
Expand Down Expand Up @@ -276,15 +276,15 @@ class Test extends React.Component {
<div className="side" style={{ overflow: 'auto', height: '200px' }}>
<div data-for='scrollContent' data-tip data-iscapture='true' style={{ width: '5000px', height: '5000px' }}>
Scroll me with the mouse wheel.<br/>
The tootlip will hide.<br/>
The tooltip will hide.<br/>
Make sure you set data-iscapture="true"
</div>
<ReactTooltip id='scrollContent' getContent={() => Math.floor(Math.random() * 100)}/>
</div>
<div className="side" style={{ overflow: 'auto', height: '200px' }}>
<div data-for='scrollTime' data-tip data-iscapture='true' data-scroll-hide='false' style={{ width: '5000px', height: '5000px' }}>
Scroll me with the mouse wheel.<br/>
The tootlip will stay visible.
The tooltip will stay visible.
</div>
<ReactTooltip id='scrollTime'
getContent={[() => {return new Date().toISOString()}, 1000]}/>
Expand Down