Skip to content

fix: android auto increment on new arch#691

Merged
BartoszKlonowski merged 2 commits into
callstack:mainfrom
Juozas-Petkelis:fix/683-android-auto-increment
Apr 25, 2025
Merged

fix: android auto increment on new arch#691
BartoszKlonowski merged 2 commits into
callstack:mainfrom
Juozas-Petkelis:fix/683-android-auto-increment

Conversation

@Juozas-Petkelis

Copy link
Copy Markdown
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

@BartoszKlonowski BartoszKlonowski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you!

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