Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Issues with Z-index when adding and removing elements. (Read 965 times)
nullable
Full Member
***
Offline


I Love MindFusion!

Posts: 112
Joined: Aug 25th, 2022
Issues with Z-index when adding and removing elements.
Dec 4th, 2023 at 10:39am
Print Post  
Hello Mindfusion team. We have a plain virtualization method in out application that removes elements if they are out of view port bounds. This method is subscribed to diagram.UpdateLayout event. But after removing items and adding them Z-index is not correct for them. Please inspect attached video and demo app where I repeat this scenario with two text nodes.
  

6I24Etiu9X.mp4 ( 509 KB | 42 Downloads )
ZIndexIssues.rar ( 1458 KB | 40 Downloads )
Back to top
 
IP Logged
 
nullable
Full Member
***
Offline


I Love MindFusion!

Posts: 112
Joined: Aug 25th, 2022
Re: Issues with Z-index when adding and removing elements.
Reply #1 - Dec 4th, 2023 at 10:40am
Print Post  
Attached video
  

6I24Etiu9X.mp4 ( 509 KB | 42 Downloads )
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3303
Joined: Oct 19th, 2005
Re: Issues with Z-index when adding and removing elements.
Reply #2 - Dec 4th, 2023 at 11:04am
Print Post  
Hi,

Current version implements virtualization out of the box. If you prefer implementing your own, try assigning ZIndex property of items explicitly, or make sure they have same relative order in diagram.Items after readding.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
nullable
Full Member
***
Offline


I Love MindFusion!

Posts: 112
Joined: Aug 25th, 2022
Re: Issues with Z-index when adding and removing elements.
Reply #3 - Dec 5th, 2023 at 6:51am
Print Post  
The solution is to use out of the box virtualization. The problem is displaying the trial shortcut. Should I re-create the license key to resolve this issue?
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3303
Joined: Oct 19th, 2005
Re: Issues with Z-index when adding and removing elements.
Reply #4 - Dec 5th, 2023 at 9:53am
Print Post  
Note that with a purchased license you get one year of maintenance (upgrades and support). If your company has extended it recently, make sure you are using the new license key you received with renewal.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint