Perspective View Shows Bad Quality Randomly

I have some perspective views that seem to show bad quality randomly. Sometimes, its not every single row shown in the image, sometimes its only a few cells overall, all seems very random. I can refresh the screen in the browser and, most of the time, everything starts displaying as expected.

This view consists of multiple different views combined into 1 (layered templated views).

I assume I have something wrong in the way I have the view programmed, but the console in the browser and the log on the gateway does not show any errors. Does anyone have better recommendations as to how I can debug this issue?

This is likely the same issue as in this topic

It's to do with deep nesting of embedded views, where the deeper you go, the less likely all of your embedded views will receive your passed parameter values due to race conditions beyond our control. It's worse when you are using complex data types for your params (objects [dicts] or arrays). It's unfortunate, but the best way to protect against this is to keep your nesting levels to 2-3 layers deep, and to use simple value data types for your params, until the bug is fixed by IA

I do have a lot of arrays/objects (or arrays in objects!), it helped me keep things organized.

My nesting on this page is about 2-4 layer deep (I forget exactly, but its not super crazy). I will rework the params to be single layer key values instead of the complex object setup I have currently, see if that improves it.

Thanks for the suggestion and the link to the other topic!

Changing up the params to be simple key/values seemed to do the job! Only params, custom properties seem to be fine with arrays and objects.

1 Like