Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React from 'react';
import PropTypes from 'prop-types';

import _JSXStyle from 'styled-jsx/style'; // eslint-disable-line no-unused-vars
import LoadingElement from '../utils/LoadingElement';

/**
* A tooltip with an absolute position.
Expand All @@ -27,9 +26,9 @@ const Tooltip = ({
return (
<>
<div className="dcc-tooltip-bounding-box">
<LoadingElement
elementType="span"
<div
className={`hover hover-${direction}`}
data-dash-is-loading={is_loading}
>
<span
id={id}
Expand All @@ -42,7 +41,7 @@ const Tooltip = ({
props.children
)}
</span>
</LoadingElement>
</div>
</div>
<style jsx>{`
.dcc-tooltip-bounding-box {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def update_figures(n_clicks):
dash_dcc.wait_for_text_to_equal("#generate-btn", "Generate Figures")
dash_dcc.find_element("#generate-btn").click()
dash_dcc.wait_for_text_to_equal("#bounding-output", "loaded")
dash_dcc.find_element(".dash-graph .js-plotly-plot.dash-graph--pending")
dash_dcc.find_element(".dash-graph .js-plotly-plot:not(.dash-graph--pending)")
dash_dcc.wait_for_element(".dash-graph .js-plotly-plot.dash-graph--pending")
dash_dcc.wait_for_element(".dash-graph .js-plotly-plot:not(.dash-graph--pending)")
dash_dcc.find_element("#bounding-btn").click()
dash_dcc.wait_for_text_to_equal("#bounding-output", "true")