cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RameshMukka
Continued Contributor
Continued Contributor

Flickering issue at toggle OnCheck/OnCheck inside nested gallery

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

RameshMukka_2-1626506718828.png

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?

Flickering Issue.gif

 

 

4 REPLIES 4
CNT
Community Champion
Community Champion

@RameshMukka I may help if you avoid using nested galleries.

RameshMukka
Continued Contributor
Continued Contributor

@CNT Definitely. But I would like to show the questions categorically in the gallery. Both at New Submission and Editing an existing Submission. Hope you have understood what I was trying to do. Please let me know your method. Will be grateful.

CNT
Community Champion
Community Champion

@RameshMukka It may be better to place the categories in a Dropdown or another Gallery (depends on the number of categories and the type of user interface you want) outside the main Gallery and Filter the main Gallery based on the selected Category. This way your main Gallery will be quiet simple, and flickering will disappear!

RameshMukka
Continued Contributor
Continued Contributor

@CNTYou are absolutely correct. I will consider your work around as option 2. Do you think there is no way we can address the flickering problem?

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (3,129)