@douyinfe/semi-ui 2.12.0-beta.2 → 2.12.0-beta.5
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 +2 -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 +2 -2
- package/lib/es/tooltip/TooltipStyledTransition.js +2 -2
- package/package.json +9 -9
- package/tooltip/TooltipStyledTransition.tsx +2 -2
package/dist/umd/semi-ui.js
CHANGED
|
@@ -29069,14 +29069,14 @@ const TooltipTransition = function () {
|
|
|
29069
29069
|
const {
|
|
29070
29070
|
children
|
|
29071
29071
|
} = props;
|
|
29072
|
-
const motion = getMotionObjFromProps(props); // add fillMode
|
|
29072
|
+
const motion = getMotionObjFromProps(props); // add fillMode forwards to fix issue 715, tooltip close will flashing under react 18
|
|
29073
29073
|
|
|
29074
29074
|
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(StyledTransition_StyledTransition, assign_default()({}, props, {
|
|
29075
29075
|
enter: enterCls,
|
|
29076
29076
|
leave: leaveCls,
|
|
29077
29077
|
duration: '100ms'
|
|
29078
29078
|
}, motion, {
|
|
29079
|
-
fillMode: '
|
|
29079
|
+
fillMode: 'forwards'
|
|
29080
29080
|
}), typeof children === 'function' ? _ref => {
|
|
29081
29081
|
let {
|
|
29082
29082
|
animateCls,
|