File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
components/dash-core-components/src/components Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import React from 'react';
2
2
import PropTypes from 'prop-types' ;
3
3
4
4
import _JSXStyle from 'styled-jsx/style' ; // eslint-disable-line no-unused-vars
5
- import LoadingElement from '../utils/LoadingElement' ;
6
5
7
6
/**
8
7
* A tooltip with an absolute position.
@@ -27,9 +26,9 @@ const Tooltip = ({
27
26
return (
28
27
< >
29
28
< div className = "dcc-tooltip-bounding-box" >
30
- < LoadingElement
31
- elementType = "span"
29
+ < div
32
30
className = { `hover hover-${ direction } ` }
31
+ data-dash-is-loading = { is_loading }
33
32
>
34
33
< span
35
34
id = { id }
@@ -42,7 +41,7 @@ const Tooltip = ({
42
41
props . children
43
42
) }
44
43
</ span >
45
- </ LoadingElement >
44
+ </ div >
46
45
</ div >
47
46
< style jsx > { `
48
47
.dcc-tooltip-bounding-box {
You can’t perform that action at this time.
0 commit comments