Skip to content

Conversation

stefanlogue
Copy link
Contributor

Summary:

When applying styles to the Slider, some styles are overwritten by the defaultStyles. This can lead to behaviour which the user does not expect. Closes #680

Test Plan:

  1. Run the example app with no changes
  2. Observe the slider components
  3. Add a style prop with height: 40 to any of the examples
  4. Observe the height property is applied correctly to the slider

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.

Simply and effective, thanks so much!

@BartoszKlonowski BartoszKlonowski merged commit 845d7ba into callstack:main May 16, 2025
9 checks passed
BartoszKlonowski pushed a commit that referenced this pull request May 16, 2025
* fix(Slider): change order styles are applied

* test(Slider): update snapshots
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.

Height on style object not working

2 participants