floatingLabel doesn't float when using `React.forwardRef`
See original GitHub issuereact-native, react and native-base version
"dependencies": {
"react": "16.3.1",
"react-native": "0.55.4",
"native-base": "^2.5.2"
},
Expected behaviour
floatingLabel
should float
Actual behaviour
floatingLabel
doesn’t float
Steps to reproduce (code snippet or screenshot)
Clone this project
Screenshot of emulator/device
Is the bug present in both ios and android or in any one of them?
Yes, both
Any other additional info which would help us debug the issue quicker.
Is it because the react
version that NativeBase
uses ?
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
reactjs - React and CSS-IN-JS - float labels not detecting the ...
Ok it turns out it was not the issue with state. The problem was with css. In order to add the styles to...
Read more >[Solved]-Floating label over-aligning the input text-Reactjs
Floating label over-aligning the input text · Error when setting an input in ReactJS, label is over / overwrites the value of the...
Read more >React Data Grid: Floating Filter Component - AG Grid
Floating Filter Components allow you to add your own floating filter types to AG Grid. You can create a Custom Floating Filter Component...
Read more >Forwarding Refs - React
Ref forwarding is a technique for automatically passing a ref through a component to one of its children. This is typically not necessary...
Read more >React Text Field component - Material UI - MUI
The floating label is absolutely positioned. It won't impact the layout of the page. Make sure that the input is larger than the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@theapache64 expecting PR https://github.com/GeekyAnts/NativeBase/pull/2030 to solve the issue
Perfect. @akhil-geekyants good work (y)