Skip to content

Commit f393471

Browse files
committed
fixing issue with tooltip styling
1 parent 700b706 commit f393471

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

components/dash-core-components/src/components/Tooltip.react.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import React from 'react';
22
import PropTypes from 'prop-types';
33

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

76
/**
87
* A tooltip with an absolute position.
@@ -27,9 +26,9 @@ const Tooltip = ({
2726
return (
2827
<>
2928
<div className="dcc-tooltip-bounding-box">
30-
<LoadingElement
31-
elementType="span"
29+
<div
3230
className={`hover hover-${direction}`}
31+
data-dash-is-loading={is_loading}
3332
>
3433
<span
3534
id={id}
@@ -42,7 +41,7 @@ const Tooltip = ({
4241
props.children
4342
)}
4443
</span>
45-
</LoadingElement>
44+
</div>
4645
</div>
4746
<style jsx>{`
4847
.dcc-tooltip-bounding-box {

0 commit comments

Comments
 (0)