Bug in SPA environment

2 posts, 0 answers
  1. Matjaz
    Matjaz avatar
    94 posts
    Member since:
    Jun 2014

    Posted 06 Apr 2015 Link to this post

    I have two views. If you navigate from first view to second view and then back to first view, then resize browser and navigate to second view again, splitter on second view is not showing any data (k-pane has width or height or both set to zero).

    Unfortunately the browser resize even if you download some file and status bar (progress) appears (Chrome). I am tracking this issues for several months now, and only now I manage to figure it out how to reproduce it.


  2. Dimo
    Dimo avatar
    8321 posts

    Posted 08 Apr 2015 Link to this post

    Hi Matjaz,

    The Splitter uses a window.resize handler, but the widget cannot calculate its layout if it is not visible. The easiest option is to execute the Splitter's resize() method when its parent view becomes visible. For future Kendo UI releases, we will probably disable the resizing routine of all widgets when they are not visible.



    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top