I have a main gallery (flexible height gallery) connecting to a collection which is created from SharePoint lists. Below is code at OnVisible property of the screen
ClearCollect(
colGodownAudit,
ShowColumns(
'Godown Audit Submissions',
"Title",
"InitialAuditStatus",
"ReviewAuditStatus",
"Category",
"FormID"
)
);
Clear(colGodownAudit);
ForAll(
'Godown Audit',
Patch(
colGodownAudit,
Defaults(colGodownAudit),
{
Title: ThisRecord.Title,
Category: ThisRecord.Category,
InitialAuditStatus: "No",
ReviewAuditStatus : "No"
}
)
);
NewForm(Form5)
My main gallery items property formula below
GroupBy(colGodownAudit,"Category","Questions")
I have added another gallery inside main gallery. Here is the formula of its items property
ThisItem.Questions
Here is my gallery structure

I have below formula at OnCheck and OnUncheck properties of togInitialStatus
Patch(
colGodownAudit,
ThisItem,
{
InitialAuditStatus: If(
togInitialStatus.Value,
"Yes",
"No"
),
ReviewAuditStatus: If(
togInitialStatus.Value,
"Yes",
"No"
)
}
)
Now my problem is when I Check/OnCheck the toggle controls the screen or gallery flickers. Its very frustrating to see that. What would should have causing this am unable to figure out. I have other screens which are similar to this with only main gallery and I dont have a problem there. I have the gif to create some visualization of what i meant. Can anyone please help on this?
