understanding “Layout run failure” error logging

前端 未结 3 1687
醉梦人生
醉梦人生 2020-12-15 09:03

I am doing some charting work and got a single line message \"Layout run failure\" when nothing was being created on the chart. Looking into this I found that I have to add

3条回答
  •  不知归路
    2020-12-15 09:43

    Some of the causes can be attributed as -

    1. Overnesting (look for layouts inside layout. Some layout nested combinations will give this error)
    2. A container is missing a layout.
    3. A container or its children are missing sizing information. For example height/width or flex.
    4. Using ui config on a component that is not defined in the sass.

    To debug, we should investigate the layouts in the views where the exception is thrown.

    Unfortunately, there is no documentation available.

    source: Sencha support

提交回复
热议问题