@douyinfe/semi-ui 2.12.0-beta.0 → 2.12.0-beta.1
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.
- package/dist/umd/semi-ui.js +5 -2
- package/dist/umd/semi-ui.js.map +1 -1
- package/dist/umd/semi-ui.min.js +1 -1
- package/dist/umd/semi-ui.min.js.map +1 -1
- package/lib/cjs/tooltip/TooltipStyledTransition.js +5 -2
- package/lib/es/tooltip/TooltipStyledTransition.js +5 -2
- package/package.json +9 -9
- package/tooltip/TooltipStyledTransition.tsx +2 -1
- package/tooltip/_story/tooltip.stories.js +90 -0
package/dist/umd/semi-ui.js
CHANGED
|
@@ -29082,12 +29082,15 @@ const TooltipTransition = function () {
|
|
|
29082
29082
|
const {
|
|
29083
29083
|
children
|
|
29084
29084
|
} = props;
|
|
29085
|
-
const motion = getMotionObjFromProps(props);
|
|
29085
|
+
const motion = getMotionObjFromProps(props); // add fillMode forward to fix issue 715, tooltip close will flashing under react 18
|
|
29086
|
+
|
|
29086
29087
|
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(StyledTransition_StyledTransition, assign_default()({}, props, {
|
|
29087
29088
|
enter: enterCls,
|
|
29088
29089
|
leave: leaveCls,
|
|
29089
29090
|
duration: '100ms'
|
|
29090
|
-
}, motion
|
|
29091
|
+
}, motion, {
|
|
29092
|
+
fillMode: 'forward'
|
|
29093
|
+
}), typeof children === 'function' ? _ref => {
|
|
29091
29094
|
let {
|
|
29092
29095
|
animateCls,
|
|
29093
29096
|
animateEvents,
|