You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Explicitly do not use native animation driver
* Fix pressIn animation only starts after moving
* Release v1.6.0
* Update readme on new props with example
@@ -76,7 +77,9 @@ class MyComponent extends React.Component {
76
77
<View style={styles.container}>
77
78
<NotificationPopup
78
79
ref={ref=>this.popup= ref}
79
-
renderPopupContent={renderCustomPopup} />
80
+
renderPopupContent={renderCustomPopup}
81
+
shouldChildHandleResponderStart={true}
82
+
shouldChildHandleResponderMove={true} />
80
83
</View>
81
84
);
82
85
}
@@ -104,6 +107,8 @@ componentDidMount() {
104
107
| Param | Type | Default | Description |
105
108
| --- | --- | --- | --- |
106
109
| **`renderPopupContent`** | function <br /> `(options?: { appIconSource?: ImageSourcePropType; appTitle?: string; timeText?: string; title?: string;body?: string; }) =>React.ReactElement<any>` | null | Render your own custom popup body (Optional) |
110
+
| **`shouldChildHandleResponderStart`** | boolean | false | By default, parent popup will prevent bubbling event to child. This should be set to true if you have button inside your custom popup that wants to receive the event. |
111
+
| **`shouldChildHandleResponderMove`** | boolean | false | By default, parent popup will prevent bubbling event to child. This should be set to true if you have button inside your custom popup that wants to receive the event. |
0 commit comments