You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MinSize ignored if Split created on invisible DOM Elements #798
Hi, there is a problem with minSize.
If Split created on hidden DOM node, this part of initialization logic at split.js @ 694, uses getBoundingClientRect. But if DOM nodes invisible at this moment (parent display:none) rect will be zero-sized, and minSize will be overwritten with 0 value. But obviously size is not === 0, it just invisible at the moment. When hidden Split became visible, it will ignore specified minSizes.
Activity
rhssiiy commentedon May 16, 2024
If anyone is interested, there is a workaround:
All sizes are in percentages.