Bug in native text fields on iOS, both Public release and daily builds

When creating a text field on iOS, they become bigger than they should be, it happened in the last few days, I have been using the same corona build, but apparently the results are different now (has to do with the build server perhaps?)

On iOS native text fields are bigger on the right side than they should be. see the attached picture (text field with a rounded rect as a bg to give a border impression)

The “background” is created using the exact same size as the field, and to be clear: was working perfectly on the current ios version until a week ago.

Any idea?

Can you share your native.newTextField() construction code?

If you haven’t changed versions of Corona and you haven’t changed versions of iOS, then there shouldn’t be any differences on our side.

We also haven’t made any changes to native.newTextFields in quite a while. What version of Corona are you using?

Rob

Well, apparently I found the cause. Still makes no sense.

So with the same application, the fields look like number 1 in the picture under normal circumstances.

Whenever one of the “top banners”(the hotspot one, when you are in a call, etc…) are displayed in the phone (even if they are NOT visible in the application, as I am launching the application in fullscreen)

number 2 is what I get. the blue background is created with the same size as the textfield (plus a bit of padding to look like a border) and it works perfectly as seen in number 1. when one banner shows, it becomes like number 2. the background is still perfectly center aligned, the textfield looks like it is “wider” on the right side, but the left side is still perfect.

Happens on every app I have tested. :frowning:

When you say “all apps you’ve tested”, does that include non-Corona apps?

Rob

I have tested different apps made with corona, even a simple view with a field gets the same result.

Does not happen with normal native apps.

@articnetllc, what content scale mode are you using (specified in the config.lua)?

letterbox

Try changing it to "adaptive"and check if the bug will still appear

Can you share your native.newTextField() construction code?

If you haven’t changed versions of Corona and you haven’t changed versions of iOS, then there shouldn’t be any differences on our side.

We also haven’t made any changes to native.newTextFields in quite a while. What version of Corona are you using?

Rob

Well, apparently I found the cause. Still makes no sense.

So with the same application, the fields look like number 1 in the picture under normal circumstances.

Whenever one of the “top banners”(the hotspot one, when you are in a call, etc…) are displayed in the phone (even if they are NOT visible in the application, as I am launching the application in fullscreen)

number 2 is what I get. the blue background is created with the same size as the textfield (plus a bit of padding to look like a border) and it works perfectly as seen in number 1. when one banner shows, it becomes like number 2. the background is still perfectly center aligned, the textfield looks like it is “wider” on the right side, but the left side is still perfect.

Happens on every app I have tested. :frowning:

When you say “all apps you’ve tested”, does that include non-Corona apps?

Rob

I have tested different apps made with corona, even a simple view with a field gets the same result.

Does not happen with normal native apps.

@articnetllc, what content scale mode are you using (specified in the config.lua)?

letterbox

Try changing it to "adaptive"and check if the bug will still appear