-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Floating label cut off #1532
Comments
+1 I have the same issue, and it happened when I've upgraded react-native to 0.52.0 |
I'm having same issue, also after upgrading to 0.52 |
Same issue here :( Thanks :) |
@carathorys you can add some padding to the top for Gif |
I found out that Label has hard coded value for
where
|
Looks like it's an issue with Can somebody check why it has wrong value? |
sure |
@akhil-geekyants I appreciate the tip however a fix would be better. Want a PR? |
@pennyandsean There is a PR for this |
Fixed with 2.3.8 |
This is still in Native base 2.4.1 Put a padding in the theme/components/Label.js file the path may be different for you
|
@raajnadar checked this with native-base : 2.4.1. Couldn't see this. Posting code.
Video |
@raajnadar Probably you dd'nt eject theme after updating NativeBase version |
@SupriyaKalghatgi will the existing changes be overwritten after ejecting?? |
@raajnadar |
@raajnadar Yes, if there is any update in |
I also faced same issue, Remove |
@NaveenJayaram94 You mean, modifying in ejected theme and not updating NativeBase version? |
@SupriyaKalghatgi |
@NaveenJayaram94 Yes, no need of embedding inline styles here |
react-native, react and native-base version
React-Native 0.52.0
React: 16.2.0
Native-Base: 2.3.7
Expected behaviour
When using an input with a floating label, the entire label should be visible when floating.
Actual behaviour
Once the label starts floating, the top half of the label is cut off.
Steps to reproduce (code snippet or screenshot)
Something as simple as the following basic case causes it:
Screenshot of emulator/device
Is the bug present in both ios and android or in any one of them?
I am not able to test it on iOS at the moment.
Any other additional info which would help us debug the issue quicker.
It used to work a while ago but I only noticed it is broken now, not sure on which version it broke.
The text was updated successfully, but these errors were encountered: