Skip to content

Fix touchable heights causing tall sliders#457

Open
elliottkember wants to merge 2 commits into
miblanchard:mainfrom
elliottkember:elliott/touchable-heights
Open

Fix touchable heights causing tall sliders#457
elliottkember wants to merge 2 commits into
miblanchard:mainfrom
elliottkember:elliott/touchable-heights

Conversation

@elliottkember
Copy link
Copy Markdown
Contributor

@elliottkember elliottkember commented Nov 7, 2024

Setting thumbTouchSize causes the slider's touchable areas to way overstep their bounds becuase of a logic error in the math.

In these examples, the thumbTouchSize is set to 52 – roughly the same size as the track should be. On the latest version of the library, this causes the slider to have a height much greater than it should.

Before:

image

After:

image

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.

1 participant