mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
ReactSlider onValueChange
Summary: Changelog: [Android][Fixed] - Emit the right bubbling event for ReactSliderEvent In [ReactSliderManager.java](https://github.com/facebook/react-native/blob/main/ReactAndroid/src/main/java/com/facebook/react/views/slider/ReactSliderManager.java#L277) we register `topValueChange` yet `ReactSliderEvent` dispatches `topChange`. Reviewed By: NickGerleman Differential Revision: D39064685 fbshipit-source-id: c1e589c2fcaee68ef21f920a950ea36eaa0e5048
This commit is contained in:
committed by
Facebook GitHub Bot
parent
2b4390e15d
commit
b7e7e7ff1e
@@ -15,7 +15,7 @@ import com.facebook.react.uimanager.events.RCTEventEmitter;
|
||||
/** Event emitted by a ReactSliderManager when user changes slider position. */
|
||||
public class ReactSliderEvent extends Event<ReactSliderEvent> {
|
||||
|
||||
public static final String EVENT_NAME = "topChange";
|
||||
public static final String EVENT_NAME = "topValueChange";
|
||||
|
||||
private final double mValue;
|
||||
private final boolean mFromUser;
|
||||
|
||||
Reference in New Issue
Block a user