I have a splitter with a listbox filling one of the panels. If I set the listbox to 100% height and margin-top of 5px, it looks correct… until I select an item in the listbox, where the listbox then jumps to fill the entire panel. Is this a bug within Splitter or ListBox? I have a jsfiddle that demonstrates the bug :
The jumping happens whether margin is set, padding is set, a spacer div is placed above the listbox; I’ve spent a full day trying to figure this out, and at this point, I’m convinced it’s a bug within either Splitter or ListBox
What’s interesting is that even setting the height for the listbox doesn’t stop it from moving up by the total height of its border. With its border hidden and a set height, the listbox no longer moves itself. This indicates to me that the bug is clearly within listbox and not splitter.
This reply was modified 3 years, 3 months ago by Pfhoenix.