-
FEATURED COMPONENTS
First time here? Check out the FAQ!
This happen every time I maximize one panel and try to add a new panel.
You can see on this demo: Business portal
Failed to mount: Cannot read property 'indexOf' of undefined
This is a bug ?
Asked: 2014-04-25 19:09:39 +0800
Seen: 7 times
Last updated: Apr 25 '14
by the way the link to see the error ís: http://www.zkoss.org/zkdemo/layout/business_portal?search=business%20portal
DouglasAM ( 2014-04-28 14:26:57 +0800 )editWhen you click add, it will add new panel to the first column, however it is not visible now. There is no way to calculate the size of invisible DOM and add the new panel.
vincentjian ( 2014-04-29 07:43:37 +0800 )editHello vicentjian, thanks for information, this headed me to the right place to try solve this issue, but I can't find a way to when I maximize one panel keep the others panels that stayed down this panel visible and avoid the error to add a new panel. Do you have some suggestion ?
DouglasAM ( 2014-04-29 15:49:25 +0800 )editHi, we've the same problem with Business Portal during a migration from ZKEE 6.5.5 to ZK 7.0.1 . It didn't failed on 6.x versions, I'll try to reproduce the problem and post it here.
cocoes ( 2014-05-07 08:21:18 +0800 )editIn my case, I was invalidating the parent of one of the panels hidden during another panel maximization, in order to recalculate the hidden panel height before the maximized panel is minimized. Removing the panel.getParent().invalidate() solved my problem.
cocoes ( 2014-05-08 10:31:06 +0800 )edit