File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
components/dash-core-components Expand file tree Collapse file tree 2 files changed +5
-6
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 {
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ def update_figures(n_clicks):
205
205
dash_dcc .wait_for_text_to_equal ("#generate-btn" , "Generate Figures" )
206
206
dash_dcc .find_element ("#generate-btn" ).click ()
207
207
dash_dcc .wait_for_text_to_equal ("#bounding-output" , "loaded" )
208
- dash_dcc .find_element (".dash-graph .js-plotly-plot.dash-graph--pending" )
209
- dash_dcc .find_element (".dash-graph .js-plotly-plot:not(.dash-graph--pending)" )
208
+ dash_dcc .wait_for_element (".dash-graph .js-plotly-plot.dash-graph--pending" )
209
+ dash_dcc .wait_for_element (".dash-graph .js-plotly-plot:not(.dash-graph--pending)" )
210
210
dash_dcc .find_element ("#bounding-btn" ).click ()
211
211
dash_dcc .wait_for_text_to_equal ("#bounding-output" , "true" )
You can’t perform that action at this time.
0 commit comments