Skip to content

Commit fad9f30

Browse files
committed
Merge branch 'dev' of https://github.com/uiwjs/react-native-uiw into dev
2 parents 067d365 + c503aef commit fad9f30

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed

packages/core/src/SpeedDial/index.tsx

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -146,20 +146,21 @@ function SpeedDial(props: SpeedDialProps) {
146146
]}
147147
// {...panResponder.panHandlers}
148148
>
149-
{children.map((item, i) => (
150-
<Animated.View
151-
style={[
152-
styles.fadingContainer,
153-
{
154-
// Bind opacity to animated value
155-
opacity: fadeAnim[i],
156-
},
157-
]}
158-
key={i}
159-
>
160-
<Item {...item} move={panResponder.panHandlers} />
161-
</Animated.View>
162-
))}
149+
{success &&
150+
children.map((item, i) => (
151+
<Animated.View
152+
style={[
153+
styles.fadingContainer,
154+
{
155+
// Bind opacity to animated value
156+
opacity: fadeAnim[i],
157+
},
158+
]}
159+
key={i}
160+
>
161+
<Item {...item} move={panResponder.panHandlers} />
162+
</Animated.View>
163+
))}
163164

164165
<View {...panResponder.panHandlers} style={{ alignItems: 'flex-end' }}>
165166
<TouchableOpacity activeOpacity={1} onPress={onOpenHome}>

packages/core/src/WingBlank/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function Demo() {
4848
export default Demo
4949
```
5050

51-
两翼留白不换行
51+
## 两翼留白不换行
5252

5353
```jsx mdx:preview&background=#bebebe29
5454
import React,{Component,Fragment} from 'react';

0 commit comments

Comments
 (0)