# Issue with screen and fields

**URL:** <https://community.thunkable.com/t/issue-with-screen-and-fields/941211>\
**Category:** Questions about Thunkable X\
**Created:** [October 30, 2020, 2:40pm UTC](https://community.thunkable.com/t/issue-with-screen-and-fields/941211 "2020-10-30T14:40:11Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![franckled](https://avatars.discourse-cdn.com/v4/letter/f/58956e/32.png) [@franckled](https://community.thunkable.com/u/franckled)\
**Post date:** [October 30, 2020, 2:40pm UTC](https://community.thunkable.com/t/issue-with-screen-and-fields/941211/1 "2020-10-30T14:40:11Z")

</div>

Hi  
I would like to know how to keep the screen formatting with fields. When I select the first field, it’s ok but when the field lost the focus, the formatting change. All the screen go up…  
I give you a video because I’m french and I’m not sure to be understandable…  
[RPReplay\_Final1604068388.MP4.zip](https://community.thunkable.com/uploads/short-url/wMeeM0qlzkhVUNnts7Mxm73HaDb.zip) (2.1 MB)

---

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [November 1, 2020, 11:49am UTC](https://community.thunkable.com/t/issue-with-screen-and-fields/941211/2 "2020-11-01T11:49:06Z")

</div>

Can you share screen shots of your screen layout in design mode, before the field is selected, and after the field is selected?

---

<div class="post-metadata">

**Author:** ![franckled](https://avatars.discourse-cdn.com/v4/letter/f/58956e/32.png) [@franckled](https://community.thunkable.com/u/franckled)\
**Post date:** [November 2, 2020, 10:58am UTC](https://community.thunkable.com/t/issue-with-screen-and-fields/941211/3 "2020-11-02T10:58:32Z")

</div>

Hello, I sent a video in a Zip. If a do screenshot you can see in the first one I select the first field and when I click on the screen to deselect the field and unfocus it, the second screenshot is here.

 ![Capture d’écran 2020-11-02 à 11.55.23](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/6/c61b29d208c39096ce14bc1b60a1f4233431aa60.jpeg) → ![Capture d’écran 2020-11-02 à 11.55.58](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/3/a32450737b0cfe273ac4f60cb00689a0def0b449.png)

---

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [November 2, 2020, 11:46am UTC](https://community.thunkable.com/t/issue-with-screen-and-fields/941211/4 "2020-11-02T11:46:18Z")

</div>

Can you show pitcures of the code blocks?

Do you have and code in the Changes block or Click block for the input boxes?

---

<div class="post-metadata">

**Author:** ![franckled](https://avatars.discourse-cdn.com/v4/letter/f/58956e/32.png) [@franckled](https://community.thunkable.com/u/franckled)\
**Post date:** [November 2, 2020, 11:49am UTC](https://community.thunkable.com/t/issue-with-screen-and-fields/941211/5 "2020-11-02T11:49:05Z")

</div>

![Capture d’écran 2020-11-02 à 12.48.06](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/3/530913af0c8ab0b08afe205050eeb610c84516c3.png)  
Okkiii

---

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [November 2, 2020, 12:31pm UTC](https://community.thunkable.com/t/issue-with-screen-and-fields/941211/6 "2020-11-02T12:31:46Z")

</div>

I don’t see the issue with the focus events, but I am not experienced with that event or the dismiss keyboard block.

But I do see 2 possible contributing problems:

There is currently a bug with the [open event occuring twice](http://community.thunkable.com/t/splash-page-opens-twice-on-downloaded-app-on-ios/833717). Since you have the charge function called in both the start and open events, the function will be called 3 times. Because that function calls mulitple firebase DB Get blocks, there will be mulitple asynchronous calls to firebase. My experience has been that mulitple calls with the Get block will generate unexpected behaviors and crashes. To fix the asynchronous issue see this thread. [Wrapping Asynchronous (then do) blocks into a Synchronous Function resolves unpredictable results](http://community.thunkable.com/t/wrapping-asynchronous-then-do-blocks-into-a-synchronous-function-resolves-unpredictable-results/910511)

After fixing that issue, see if the screen is still having problems. OR remove all of the database calls and see if the screen still has the problem.

I apologize for not having a simple solution. ☹

---

<div class="post-metadata">

**Author:** ![franckled](https://avatars.discourse-cdn.com/v4/letter/f/58956e/32.png) [@franckled](https://community.thunkable.com/u/franckled)\
**Post date:** [November 2, 2020, 12:50pm UTC](https://community.thunkable.com/t/issue-with-screen-and-fields/941211/7 "2020-11-02T12:50:12Z")

</div>

Thanks +++ for the advice. I’m not really fixed with the start and open command, and I thought that the first time the screen is open the start command is called and the second and others opening, the open command is called. Why will the CHARGE command will be called three times ?  
I will change as you have proposed and I will give you a feedback.  
Thank you tor the time you spent for me ! 🙂 👌

---

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [November 2, 2020, 12:52pm UTC](https://community.thunkable.com/t/issue-with-screen-and-fields/941211/8 "2020-11-02T12:52:52Z")

</div>

The first time the screen opens,  
Start Event -\> Charge  
Open Event -\>Charge  
Open Event (BUG!) -\> Charge

The second time the screen opens  
Open Event -\>Charge

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:21pm UTC](https://community.thunkable.com/t/issue-with-screen-and-fields/941211/9 "2024-11-08T12:21:48Z")

</div>


