Another keyboard height question

Hello helpful peeps of Corona-land -

(And before I start - thank you to you all for engaging in this forum, it’s REALLY helpful to have this community!)

I gather from searching the forums that there’s no cross-platform way to get the height of the keyboard, is that still correct?  If the height is known for iOS devices but not Android (I think I read this somewhere) could anyone point me to where those heights are listed?

My ideal would be to implement an ‘add comment’ box like the one in Whatsapp or Facebook Messenger, which grows as the user enters multiple lines.  I read that there’s no way to get the height of the text inside an editable textbox.  Is it possible to implement this by also writing the inputted text to an offscreen non-editable textbox and using contentHeight to then adjust the editable one?  Or is going down this route entering a world of pain?

Thanks

Tom

I had a quick go at this, and the editable textbox field appears to have margins that the non-editable one doesn’t, which I’m guessing are device-dependent…

So I’m guessing this is a bad idea? :slight_smile:

Text input for Corona SDK is fairly basic. You might have more luck with Corona Enterprise where you have better access to native controls.

Rob

I had a quick go at this, and the editable textbox field appears to have margins that the non-editable one doesn’t, which I’m guessing are device-dependent…

So I’m guessing this is a bad idea? :slight_smile:

Text input for Corona SDK is fairly basic. You might have more luck with Corona Enterprise where you have better access to native controls.

Rob