cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
TomasZubov
Level: Powered On

Collapse datacard does not work in IE

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?

 

 

 

  

 

   

2 REPLIES 2
Community Support Team
Community Support Team

Re: Collapse datacard does not work in IE

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

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
TomasZubov
Level: Powered On

Re: Collapse datacard does not work in IE

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.   

 

 

 

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 409 members 6,069 guests
Please welcome our newest community members: