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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Visibility of componen...
Power Apps
Unanswered

Visibility of component child items not refreshing when component itself is not visible

(1) ShareShare
ReportReport
Posted on by 2
Hello,
 
I have a component (dialog box) whose visibility is controlled locally via context variables and buttons.
Inside the component, I have containers whose visibility are controlled by another text variable (Mode)
 
Then I have two buttons, each setting the text variable (Mode) to something different.
The buttons also change the context variable to make the component visible.
 
The first time a button is pressed (setting Mode = "A") and a component is made visible, everything renders correctly.
The component is then closed (changed to be not visible) in between.
If the second button is pressed (setting Mode ="B") and the component is made visible, then the controls that depend on Mode ="B" to be visible are not displayed. (<-- This is the bug)
If the component is then closed (changed to be not visible again) and then the FIRST button is pressed (setting Mode = "A" again) then everything renders as intended for Mode = "A"
However, interestingly, if the component is NOT closed in between changing Mode from "A" to "B" then everything will render correctly (i.e. visibility will change appropriately for each button.
**Therefore, this bug appears to be an issue with lack of rendering/refreshing visibility of child items when the parent (component) is not visible.**
 
For my app/component to be used effectively, the component needs to be hidden in between the different mode changes.
 
I've tried almost every permutation/simplification of the component and nothing works, leading me to strongly believe that this is a bug.
 
Thank you!

 
Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,960 Moderator on at
    Hi,
     
    How have you implemented the invis/noninvis? Did you create a property or are you just using the Invis property or your custom one.
     
    You should not be using External variables to directly impact the visibility unless its a Property. Meaning, in your component don't have it look at that variable, have it look at its own personal property that you create.
     
    are you using the OnReset or visible properties in the Component that is accidentally changing what you need it to do, which would explain why if you dont make it invis in between,m then it works. Sounds like its rsesetting somewhere,.
  • CN-20010726-0 Profile Picture
    2 on at
    @Michael E. Gernaey Thank you for input!  The visibility of the controls is dependent on a property that is fed by an external variable.  I even tried stripping down the component to two simple colored containers, and was able to reproduce the problem, so I'm convinced that this is a Power Apps issue... and the problem does not occur if the component remains visible when the control visibility is altered.  I guess I'll just have to break down the component into two separate ones, though not ideal.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 531 Most Valuable Professional

#2
Haque Profile Picture

Haque 261

#3
Kalathiya Profile Picture

Kalathiya 221 Super User 2026 Season 1

Last 30 days Overall leaderboard