-
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
Input#getRef receives a undefined reference if Icon is used in a floatingLabel Item) #1780
Comments
Fix for issue #1780. Fix based on issue-comment #1780 (comment)
@akhil-geekyants is it fixed at ? cause it happen with me today? do i have to update to 0.55.3 ? |
@ZeroCool00 can you post your code |
@akhil-geekyants
|
@ZeroCool00 checked this. Fix is working. Attaching a gif If you are making changes directly in the node_modules/native-base (not recommended), change
to
in the main Gif |
@akhil-geekyants Its working now.. Thank you for all your support.. I love native-base |
@akhil-geekyants Today i check node-module, every changes i made is all gone.. and all issue is still remain. floating label cut and getRef in keyboard.. How to solve this. do i need to wait until you update version? or there is a way? |
@ZeroCool00 You will get the update tomorrow |
@SupriyaKalghatgi ok Thanks |
Fixed with 2.4.3 |
Related issues: #591 #1514
React native 0.55.1, React 16.0.0-alpha.3, NativeBase 2.4.2
Hi,
I have an issue with
Input
,Item#floatingLabel
andInput#getRef
.With this simple code, getRef is triggered but
e
isundefined
. Interestingly, if I remove theIcon
component, it works fine.I dug a little bit in the code of
Item.js
, and I think the problem is caused by the following code:I added the missing
ref={c => (this._inputRef = c)}
in the first block and it solved the problem.The text was updated successfully, but these errors were encountered: