Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Thumb flickers and jumps when slider value is set programmatically

Đang mở
#716 11 bình luận 0 reaction 1 người được giao Xem trên GitHub

@draggie đang làm issue này rồi.

Từ ngày 17/7/2025.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

bug report v6

Environment

info Fetching system and libraries information...
System:
  OS: Windows 11 10.0.22631
  CPU: "(12) x64 AMD Ryzen 5 7530U with Radeon Graphics         "
  Memory: 14.63 GB / 31.35 GB
Binaries:
  Node:
    version: 22.16.0
    path: ~\AppData\Local\fnm_multishells\16944_1750346856565\node.EXE
  Yarn:
    version: 1.22.22
    path: C:\Program Files (x86)\Yarn\bin\yarn.CMD
  npm:
    version: 10.9.2
    path: ~\AppData\Local\fnm_multishells\16944_1750346856565\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK:
    API Levels:
      - "34"
      - "35"
    Build Tools:
      - 30.0.3
      - 34.0.0
      - 35.0.0
    System Images:
      - android-34 | Google Play Intel x86_64 Atom
      - android-35 | Google Play Intel x86_64 Atom
    Android NDK: Not Found
  Windows SDK:
    AllowDevelopmentWithoutDevLicense: Enabled
    AllowAllTrustedApps: Enabled
    Versions:
      - 10.0.26100.0
IDEs:
  Android Studio: AI-243.24978.46.2431.13208083
  Visual Studio: Not Found
Languages:
  Java: 17.0.12
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli":
    installed: 18.0.0
    wanted: ^18.0.0
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.76.9
    wanted: ^0.76.9
  react-native-windows: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: Not found
  newArchEnabled: Not found
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

info React Native v0.80.0 is now available (your project is running on v0.76.9).
info Changelog: https://github.com/facebook/react-native/releases/tag/v0.80.0
info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.76.9&to=0.80.0
info For more info, check out "https://reactnative.dev/docs/upgrading?os=windows".
  • are you using the new architecture? Yes

  • which version of react & react-native are you using? 18.3.1

Description

I'm using Expo 52 and using a simple Slider that follows the official documentation, and the slider thumb just jumps and causes weird UI behavior. I'm using an Expo Development Build and testing it on an Android device. Here's the simple example:

Reproducible Demo

export const LightLevel = () => {
	const [value, setValue] = useState(10)
	return (
		<>
			<Text>Light: {value && +value.toFixed(3)}%</Text>
			<Slider
				style={{ width: 200 }}
				step={1}
				minimumValue={0}
				maximumValue={100}
				value={value}
				onValueChange={setValue}
				minimumTrackTintColor={'#00629A'}
				maximumTrackTintColor={'#979EA4'}
			/>
		</>
	)
}
Ngôn ngữ chính
TypeScript
Star
1.4k
Fork
295
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của callstack/react-native-slider

Tất cả issue của callstack/react-native-slider

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.