Skip to content

Commit 9353cea

Browse files
committed
click outside
1 parent cd726b0 commit 9353cea

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

components/SLDSTooltip/index.jsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,13 @@ module.exports = React.createClass( {
104104
return 'middle';
105105
},
106106

107+
handleCancel() {
108+
this.setState({
109+
isOpen: false,
110+
isClosing: false
111+
});
112+
},
113+
107114
getTooltip() {
108115
const style = {
109116
'slds-popover': true,

0 commit comments

Comments
 (0)