I am trying to hide a section and I notice that there is a gap between the hidden section and the non-hidden section that is separated using the .rbs-section-seperator div. Is there a possibility to add this to the showOrHideSection function and hide the separator as well, because there is unnecessary space that is staying there?
Yes I can reproduce the issue and I have logged the defect for the same.
Any possible resolution dates?
Till it is fixed, as a workaround you can use the below script to hide the section separator.
var sectionElement = $('#rbi_S_324862'); // where rbi_S_51599 is the Id of the section element
var sectionSeparator = sectionElement.next('.rbs-sectionSeparator');