picostitch
crafting (and) JavaScript

Tidbits tagged with #ios (3)

#React Native

Understanding React Native's onLayout Attribute (a bit)

The <KeyboardAvoidingView> is one component provided by react-native, which (magically) handles the screen to re-layout when the virtual keyboard opens on ones phone.
This component comes not without challenges, I had actually written about it and I still keep finding things, which make me dig deeper into it to understand and eventually (fix and) use it properly.
Continue reading →