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 / Collapse datacard does...
Power Apps
Unanswered

Collapse datacard does not work in IE

(0) ShareShare
ReportReport
Posted on by 122

Hello,

 

 I have a several datacards on canvas each has heading (rectangle) with collapse/expand button.

Function onSelect of the button is simple set variable expand to true or false,  all controls within certain datacard have visibility set to variable used in datacard heading.

 

 After clicking the button, are all controls within that datacard displayed or hidden. In all browsers, is after action  datacard height "equal" to the height of the rectangle in the heading, but not in IE, where it still has orginal height, it is just blank as all controls are hidden. Is there anything I need to do in order to make it work in IE as it works in browsers?

 

1) This is how it should work and works in Chrome, Mozzila, Safari...OK.png

2) This is in IEko.png

 

Any ideas what to do?

 

 

 

  

 

   

Categories:
I have the same question (0)
  • v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @TomasZubov,

     

    Since you mentioned data card, just to confirm, are they inside the edit or display Form control? What is the data source? Also, please share the formula of the Height property of these data cards.

     

    Regards,

    Mona

  • TomasZubov Profile Picture
    122 on at

    Hi @v-monli-msft,

     

     It is within canvas and without form control.

     

    All formulas are similar to this: 

    If(expCol;100;27) or If(expCol;100;0) 
    expCol: 
    true=expanded
    false=collapsed

    expCol is set as a visibility for all controls within datacard, except grey bar and expand/collapse buttons.

     

    It does not matter if you use 0 or 27 for false, it does work fine except IE. Even if I do not use any formula for height, once controls are hidden datacard height shrinks to the minimum, just to display all controls which are not hidden.

     

    What is interesting it does work fine in IE when you test it in studio, but once you publish the app and run it it does not work.   

     

     

     

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,074

#2
Valantis Profile Picture

Valantis 639

#3
11manish Profile Picture

11manish 606

Last 30 days Overall leaderboard