Image leaves a white space in my native app

0
Hi everyone, I am using Image Widget, which I have enabled the option to set as background, but a blank space appears, I used width: "112%" and height: '100%', and it worked fine, but since the image has content, when I open a text box, when I open the device keyboard a blank space appears on the right side, what is the solution to this?
asked
1 answers
1

Hi Ivan Lopez,

 

To resolve the height issue, you can place a container inside the background image widget and wrap all your child components within that container. Then, apply a style to ensure the container takes up the full height of the screen.

 

For example, you can define a fullHeight style like this,

export const fullHeight = {

    container: {

        height: "100%",

    },

};

 

Now, apply the fullHeight style to the inner container. This ensures the space inside the background image takes up the full height, so the image will properly fill the entire screen.

answered