foxit-component 0.0.1-alpha.42 → 0.0.1-alpha.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,7 @@ var Tooltip = function (_a) {
8
8
  var title = _a.title, children = _a.children, _b = _a.whiteGround, whiteGround = _b === void 0 ? false : _b, className = _a.className;
9
9
  var childRef = useRef(null);
10
10
  var tooltipRef = useRef(null);
11
- var _c = useState({ visibility: 'hidden' }), tooltipStyle = _c[0], setTooltipStyle = _c[1];
11
+ var _c = useState({ visibility: 'hidden', position: 'absolute', top: '0', left: '0' }), tooltipStyle = _c[0], setTooltipStyle = _c[1];
12
12
  var isVisibleRef = useRef(false);
13
13
  var _d = useState('50%'), arrowLeft = _d[0], setArrowLeft = _d[1];
14
14
  var calculateTooltipPosition = function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foxit-component",
3
- "version": "0.0.1-alpha.42",
3
+ "version": "0.0.1-alpha.43",
4
4
  "author": {
5
5
  "name": "linye",
6
6
  "email": "869675630@qq.com"