# Embedded view doesn't render on view startup

**URL:** <https://forum.inductiveautomation.com/t/embedded-view-doesnt-render-on-view-startup/35907>\
**Category:** Ignition Early Access\
**Created:** [June 23, 2020, 11:39am UTC](https://forum.inductiveautomation.com/t/embedded-view-doesnt-render-on-view-startup/35907 "2020-06-23T11:39:26Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [June 23, 2020, 11:39am UTC](https://forum.inductiveautomation.com/t/embedded-view-doesnt-render-on-view-startup/35907/1 "2020-06-23T11:39:26Z")

</div>

Hi

In views with many embedded view objects(more than 80), when opening the view some of the embedded view randomly doesn’t render at all. Even refreshing the page doesn’t fix this and only randomly some other embedded views doesn’t render each time.  
I can see this bug in every devices even powerful ones and even in designer.  
It seems there is timeout involve and when the client doesn’t get embedded view data, ignition ignore them.  
I test it on 8.0.12 and 8.0.13.

 ![load problem](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/b/4bcc6d6551c5b2605c8c526c9902ffdf9b390ef5.gif)  
 ![Untitled](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/9/59d6c7ab50a6992bbd129e492da16e31d10e9655.png)

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [June 24, 2020, 8:30am UTC](https://forum.inductiveautomation.com/t/embedded-view-doesnt-render-on-view-startup/35907/2 "2020-06-24T08:30:26Z")

</div>

I find out the objects in the root container which take place in the end of list doesn’t loaded.  
For example when I put MOVs in the beginning of the object list they always load correctly and other object that place in the end of list will not loaded.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/6/16851aa4644ff93807321b87407ac9543210894f.png)

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [June 24, 2020, 10:37am UTC](https://forum.inductiveautomation.com/t/embedded-view-doesnt-render-on-view-startup/35907/3 "2020-06-24T10:37:49Z")

</div>

Even dock view with embedded view in it doesn’t load in heavy views. For example in below video, the dock view has table with column render mode to view, as the result the rows doesn’t load up and i have to change page to for ce them to load.  
It seems there is some limitation on how many embedded view can be loaded at a page.

 ![load problem2](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/d/7d432a0e3e549cf6a9335eed88779053a9a15b6e.gif)

---

<div class="post-metadata">

**Author:** ![kgamble](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kgamble/32/8019_2.png) [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Post date:** [June 24, 2020, 1:14pm UTC](https://forum.inductiveautomation.com/t/embedded-view-doesnt-render-on-view-startup/35907/4 "2020-06-24T13:14:59Z")

</div>

Try setting the view.props.loading.mode property to blocking for each of the embedded views. The documentation says that non-blocking should be better for higher view quantities, but I’m curious if each view is blocking to itself if they will render faster individually.

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [June 24, 2020, 4:29pm UTC](https://forum.inductiveautomation.com/t/embedded-view-doesnt-render-on-view-startup/35907/5 "2020-06-24T16:29:32Z")

</div>

I test it before but doesn’t work at all. The non blocking and blocking doesn’t work from 8.0.12.

---

<div class="post-metadata">

**Author:** ![ynejati](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ynejati/32/6093_2.png) [@ynejati](https://forum.inductiveautomation.com/u/ynejati)\
**Post date:** [June 25, 2020, 3:29pm UTC](https://forum.inductiveautomation.com/t/embedded-view-doesnt-render-on-view-startup/35907/6 "2020-06-25T15:29:05Z")

</div>

Try @kgamble’s suggestion again. It looks to me like those views are set to non-blocking. The already loaded views are updating frequently enough that they are blocking the main thread and preventing the other views from loading. This isn’t new, and we are aware of the issue and are actively working on it.

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [June 26, 2020, 9:37am UTC](https://forum.inductiveautomation.com/t/embedded-view-doesnt-render-on-view-startup/35907/7 "2020-06-26T09:37:59Z")

</div>

Hi @ynejati  
Thanks for replying. I double check that all of my embedded view set to blocking mode but I still have this bug.  
Until the bug is fixed is there any tweak to make situation better? Like putting some code in view startup or lower uploading frequency of views.  
Any chances to fix it in 8.0.15?

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [June 26, 2020, 10:45am UTC](https://forum.inductiveautomation.com/t/embedded-view-doesnt-render-on-view-startup/35907/8 "2020-06-26T10:45:53Z")

</div>

I find out embedded view with nested flex container make thing worse. For example if I use embedded view without flex container I can increase the number of embedded view with out seeing this bug.

@ynejati could you please take a look that my embedded view. This one specially make situation wprse for me.  
[TOTAL\_2020-06-26\_1504.zip](https://forum.inductiveautomation.com/uploads/short-url/cD0ui5mym3cxP3Nzjx33VxcMyZs.zip) (3.8 KB)

---

<div class="post-metadata">

**Author:** ![ynejati](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ynejati/32/6093_2.png) [@ynejati](https://forum.inductiveautomation.com/u/ynejati)\
**Post date:** [June 26, 2020, 3:30pm UTC](https://forum.inductiveautomation.com/t/embedded-view-doesnt-render-on-view-startup/35907/9 "2020-06-26T15:30:12Z")

</div>

We have an idea on how to prevent this from happening that we plan to introduce within the next couple of weeks. It’s more of an intermediate solution, but it should fix the issue of views not loading.

---

<div class="post-metadata">

**Author:** ![ynejati](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ynejati/32/6093_2.png) [@ynejati](https://forum.inductiveautomation.com/u/ynejati)\
**Post date:** [June 26, 2020, 3:31pm UTC](https://forum.inductiveautomation.com/t/embedded-view-doesnt-render-on-view-startup/35907/10 "2020-06-26T15:31:22Z")

</div>

Sure, I’ll try to get to it today and get back to you.

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [June 26, 2020, 3:37pm UTC](https://forum.inductiveautomation.com/t/embedded-view-doesnt-render-on-view-startup/35907/11 "2020-06-26T15:37:33Z")

</div>

Sounds Create. Does it works on 8.0.12?

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [June 30, 2020, 4:20pm UTC](https://forum.inductiveautomation.com/t/embedded-view-doesnt-render-on-view-startup/35907/12 "2020-06-30T16:20:52Z")

</div>

Hi @ynejati  
Could you please update me on this weather or not your solution will work in 8.0.12 or not.

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [July 12, 2020, 7:53am UTC](https://forum.inductiveautomation.com/t/embedded-view-doesnt-render-on-view-startup/35907/13 "2020-07-12T07:53:30Z")

</div>

Hi @ynejati  
Any update on this?  
I’m under a lot of pressure for this bug.  
Thanks.

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [July 30, 2020, 12:49pm UTC](https://forum.inductiveautomation.com/t/embedded-view-doesnt-render-on-view-startup/35907/14 "2020-07-30T12:49:23Z")

</div>

I still have problem and this fix doesn’t do any thing.

```auto
Perspective
16789: Views: add timeout option as safety for non-blocking views
Views with loading mode set to non-blocking will only wait patiently for five seconds if they have not been called. Prevents views from never loading because the thread is heavily occupied.

```

---

<div class="post-metadata">

**Author:** ![ynejati](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ynejati/32/6093_2.png) [@ynejati](https://forum.inductiveautomation.com/u/ynejati)\
**Post date:** [July 30, 2020, 3:05pm UTC](https://forum.inductiveautomation.com/t/embedded-view-doesnt-render-on-view-startup/35907/15 "2020-07-30T15:05:51Z")

</div>

Would you mind sending me a chrome performance profile recording with screen captures enabled. Thanks.

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [July 30, 2020, 7:07pm UTC](https://forum.inductiveautomation.com/t/embedded-view-doesnt-render-on-view-startup/35907/16 "2020-07-30T19:07:57Z")

</div>

Unfortunately it show itself in mobile devices and I don’t know how to record it in mobile devices.

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [July 30, 2020, 7:47pm UTC](https://forum.inductiveautomation.com/t/embedded-view-doesnt-render-on-view-startup/35907/17 "2020-07-30T19:47:57Z")

</div>

By the way, will it be any performance improvement for loading embedded view? If I put the same components directly in view instead of using embedded view the view load extremely fast. At least 10x times faster. So I believe the embedded view itself has performance issue not the number of component in a view.

---

<div class="post-metadata">

**Author:** ![ynejati](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ynejati/32/6093_2.png) [@ynejati](https://forum.inductiveautomation.com/u/ynejati)\
**Post date:** [July 31, 2020, 4:59pm UTC](https://forum.inductiveautomation.com/t/embedded-view-doesnt-render-on-view-startup/35907/18 "2020-07-31T16:59:29Z")

</div>

Yes, that is the primary target. It’s quite complicated, but we are working on it.

---

<div class="post-metadata">

**Author:** ![Arnaud\_Declerck](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/arnaud_declerck/32/44872_2.png) [@Arnaud\_Declerck](https://forum.inductiveautomation.com/u/Arnaud_Declerck)\
**Post date:** [January 29, 2021, 4:52pm UTC](https://forum.inductiveautomation.com/t/embedded-view-doesnt-render-on-view-startup/35907/19 "2021-01-29T16:52:16Z")

</div>

Hi @nader.chinichian,

i would like to now how you've done you pump object and animation on it?

would it be possible to have a exemple of it ?

Thanks
