@swmansion/react-native-bottom-sheet 0.8.0-next.4 → 0.8.0-next.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.
|
@@ -205,7 +205,7 @@ class BottomSheetView(context: Context) : ReactViewGroup(context) {
|
|
|
205
205
|
}
|
|
206
206
|
|
|
207
207
|
if (newIndex >= detentSpecs.size || newIndex == targetIndex) return
|
|
208
|
-
snapToIndex(newIndex, 0f)
|
|
208
|
+
snapToIndex(newIndex, 0f, emitIndexChange = false)
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
fun setScrimColor(color: Int?) {
|
|
@@ -173,7 +173,7 @@ public final class RNSBottomSheetHostingView: UIView {
|
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
guard newIndex < detentSpecs.count, newIndex != targetIndex else { return }
|
|
176
|
-
snapToIndex(newIndex, velocity: 0)
|
|
176
|
+
snapToIndex(newIndex, velocity: 0, emitIndexChange: false)
|
|
177
177
|
}
|
|
178
178
|
|
|
179
179
|
public func mountChildComponentView(_ childView: UIView, atIndex index: Int) {
|
package/package.json
CHANGED