web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Flickering issue at to...
Power Apps
Unanswered

Flickering issue at toggle OnCheck/OnCheck inside nested gallery

(0) ShareShare
ReportReport
Posted on by 1,115

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

 

 

Categories:
I have the same question (0)
  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

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

  • rameshmukka Profile Picture
    1,115 on at

    @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 Profile Picture
    10,921 Super User 2024 Season 1 on at

    @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 Profile Picture
    1,115 on at

    @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?

  • kdavies1966 Profile Picture
    on at

    I've recently had a similar 'flicker' problem and I solved it by moving the patch code from the OnCheck/OnUnCheck setting to the OnChange setting of the toggle control.

    My setup was a bit simpler but I used this;

    Patch(Collection, ThisItem, {Togglecolumn:Self.Value})

    Maybe worth a try?

  • rameshmukka Profile Picture
    1,115 on at

    @kdavies1966 Thanks for this. I have used a work around described in the thread but I will consider your solution in next app if there is a similar requirements. Thank you

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard