Skip to content

Conversation

Juozas-Petkelis
Copy link
Contributor

Summary:

Fix android auto increment issued on new arch (See #683).

Added same check if(fromUser) that is present in the old architecture.

if(fromUser) {
reactContext.getNativeModule(UIManagerModule.class).getEventDispatcher().dispatchEvent(
new ReactSliderEvent(
seekbar.getId(),
slider.toRealProgress(progress), true));
}

Test Plan:

Used #683 as a template for bare react native project, to reproduce the issue and check if it is still present.

Before After
Before After

Copy link
Member

@BartoszKlonowski BartoszKlonowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@BartoszKlonowski BartoszKlonowski merged commit b487460 into callstack:main Apr 25, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Android: setting a value higer than 1 (e.g. 1.01) causes the slider to auto increment
2 participants