-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi all, I recently downloaded ZK 7 and found that the tabboxes aren't displaying properly as they did in 6.5.
I have nested tabboxes. They display properly when scrolling of tabs is not needed (i.e. the number of tabs aren't enough to trigger the scrolling), as shown:
However, if there are more tabs so that tab scrolling is enabled, the nested tabbox also has scrolling enabled (even though there are only two tabs) and so the first tab is only cut off, as in this image:
Does anyone know of why this might be and a possible fix? Thanks!
Edit: Bug reproduced in ZK Fiddle here: http://zkfiddle.org/sample/28edofo/1-ZK-7-Nested-tabbox-bug
Looks like ZK applies the scroll style to all descendants, which is clearly a bug. Here's a quick fix that you can add to your CSS styles:
.z-tabbox-scroll .z-tabbox-icon {
display: none;
}
.z-tabbox-scroll > .z-tabbox-icon {
display: block;
}
Doesn't work in IE6, but shouldn't matter since ZK7 drops IE6-7 support anyway.
Asked: 2013-12-14 14:24:07 +0800
Seen: 36 times
Last updated: Dec 15 '13
This is easily reproducible and I have tested it on ZK Fiddle with the same problem. Here is the ZK fiddle:
http://zkfiddle.org/sample/28edofo/1-ZK-7-Nested-tabbox-bug
RichardL ( 2013-12-15 03:56:54 +0800 )edit