Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra padding on android and ios , #258

Closed
HITESH122 opened this issue Jan 19, 2021 · 12 comments
Closed

Extra padding on android and ios , #258

HITESH122 opened this issue Jan 19, 2021 · 12 comments
Labels
bug report Something isn't working duplicate This issue or pull request already exists platform: Android Issue related to Android platform platform: iOS Issue related to iOS platform

Comments

@HITESH122
Copy link

Environment

System:
OS: macOS 10.15.6
CPU: (4) x64 Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
Memory: 57.86 MB / 8.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 15.2.0 - /usr/local/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 6.14.8 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.10.0 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 13.5, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK:
API Levels: 28, 30
Build Tools: 28.0.3, 30.0.3
System Images: android-30 | Google APIs Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 4.1 AI-201.8743.12.41.6953283
Xcode: 11.5/11E608c - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_275 - /usr/bin/javac
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.9.0 => 16.9.0
react-native: ^0.63.2 => 0.63.4
react-native-macos: N

Reproducible Demo

@HITESH122 HITESH122 added the bug report Something isn't working label Jan 19, 2021
@HITESH122
Copy link
Author

Screenshot 2021-01-19 at 12 46 56 PM

@wojteg1337
Copy link
Contributor

@HITESH122 Could you provide more context?

@Daniel-Alencar
Copy link

My app is also like this. Although I have not tested on IOS.

@HITESH122
Copy link
Author

@HITESH122 Could you provide more context?

@wojteg1337 I need to plot markers according to percentage but slider thumb is not starting from extreme left for ios its taking the slight padding

@pstevovski
Copy link

pstevovski commented Feb 2, 2021

Same thing is happening on Android emulator (and I suppose the same on physical device). Can't get it to be the exact full width of the container, has some padding, though I looked in the src/js/Slider.js and couldn't find anything that would cause it to have paddings?

image

@HITESH122
Copy link
Author

Same thing is happening on Android emulator (and I suppose the same on physical device). Can't get it to be the exact full width of the container, has some padding, though I looked in the src/js/Slider.js and couldn't find anything that would cause it to have paddings?

image

Hello @pstevovski use this pr for android fix
#170

For ios We need to get some solution

@viveKing21
Copy link

Same thing is happening on Android emulator (and I suppose the same on physical device). Can't get it to be the exact full width of the container, has some padding, though I looked in the src/js/Slider.js and couldn't find anything that would cause it to have paddings?
image

Hello @pstevovski use this pr for android fix
#170

For ios We need to get some solution

Still not working on android

@kolyuchii
Copy link

Same issue for me on android

@BartoszKlonowski BartoszKlonowski added platform: Android Issue related to Android platform platform: iOS Issue related to iOS platform labels Aug 21, 2021
@ratz6
Copy link

ratz6 commented Feb 22, 2022

Facing same issue on android. And giving padding in styles isn't helping

@Dajust
Copy link

Dajust commented May 26, 2022

16 months later...

@tastafur
Copy link

@BartoszKlonowski It would be nice if we could fix the padding issue

@BartoszKlonowski BartoszKlonowski added the duplicate This issue or pull request already exists label Jan 19, 2023
@BartoszKlonowski
Copy link
Member

This issue is a duplicate of #98. Please track the progress in original issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Something isn't working duplicate This issue or pull request already exists platform: Android Issue related to Android platform platform: iOS Issue related to iOS platform
Projects
None yet
Development

No branches or pull requests

10 participants