Screen orientation crashes app whule using co.com.dendritas.SidebarV2 extension

Hello,
I have a screen that contains many arrangements, a sidebar when it is in portrait mode everything is good but when screen is rotated to landscape the screen becomes white evrything disappear and i must close app and open it again. Any hint ?
Thank you

1 Like

Can you share screenshots of Blocks and App

Try using this;
image

@lxmipaudel Is there Any Solution Without resetting the screen since my app shows and hides arrrangements so with your solution the app will be reseted is there any solution.
thank you

What about this:

2 Likes

ohh i did’t see it , but it woked alonw thank you

I don’t think the problem is the orientation. You are going to a different screen when the orientation changes, so have you checked doing the orientation change when the other screen opens?

1 Like

@Italo My app only contains 1 screen

Sorry but the blocks you posted shows that you are opening Screen6.
If you have only one screen then how are you expecting to open another screen?

EDIT: Sorry, I thought the blocks were yours, my mistake.

4 Likes

Actually my project contains so many blocks and arrangements my screenshot is so big thats why i tried to solve it without posting it

Are you using lots of images in your arrangements which are hidden

1 Like

Actualy yes , my app is about 4 pages but all in one screen where evry page shows its arrangements and hide all the other ones

1 Like

Most likely a memory issue.

2 Likes

Then how i can solve such problem

@Mohammad_Farfour Reposting this just to remind you that without seeing blocks, all we can do is to imagine what the problem could be. So, it’s requested to post some helpful stuffs here.

3 Likes

I was uploading blocks and then i discovered what is the problem it is from a sidebar extension i was using co.com.dendritas.SidebarV2 .
Thank You all Guys I will now try to use kodular sidebar

Seems you’re on a super secret project! Anyway, good luck ahead!

1 Like

No its not scret but i discovered the problem it is from this extention .