Skip to content

Commit 94f4c61

Browse files
Amber-Nan杨楠
andauthored
fix:修复 Modal 弹出动画底层延迟收起问题 (#303)
* fix:发布 iOS 应用商店:一. 创建AppID * fix:发布 iOS 应用商店优化排版 * fix:ios应用商店文档更新及排版优化 * fix:修改环境安装文档语法错误及部分内容优化 * fix:更新ios应用发布流程 * fix:ios应用商店发布更新 * fix:更新ios及安卓应用商店发布 * fix:安卓上架更新 * fix:增加button自定义文本实例 * fix:增加checkBox复选框size调整及文档描述效果展示 * doc:更新文档导入图片 * doc(website): Update Readme.md * fix:修复SpeedDial Android 点击事件失效及拖拽失效问题 #286 * fix:解决SelectCascader 在安卓端不能选择问题 #289 * fix:修复Modal 弹出动画底层延迟收起问题 Co-authored-by: 杨楠 <[email protected]>
1 parent e03a79f commit 94f4c61

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/core/src/Modal/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export default (props: ModalProps = {}) => {
9595
// !layoutHeight && isVertical ? { display: display } : {},
9696
// !layoutWidth && isHorizontal ? { display: display } : {},
9797
// // getTransformStyle(),
98-
{ transform: [translateStyle], position: 'relative', zIndex: 10000 },
98+
{ transform: [translateStyle], backgroundColor: '#fff', position: 'relative', zIndex: 10000 },
9999
]}
100100
>
101101
{children}
@@ -111,7 +111,6 @@ export default (props: ModalProps = {}) => {
111111

112112
const styles = StyleSheet.create({
113113
content: {
114-
backgroundColor: '#fff',
115114
position: 'absolute',
116115
zIndex: 9999,
117116
},

0 commit comments

Comments
 (0)