Project

General

Profile

Actions

Bug #5526

closed

if cbmoreless is initially hidden it does not function

Bug #5526: if cbmoreless is initially hidden it does not function

Added by krileon about 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
25 September 2015
Due date:
% Done:

100%

Estimated time:

Description

When using cbmoreless jQuery plugin if it's initially hidden (e.g. on a tab) then it will not trigger the display of showhide usage.

Updated by krileon about 10 years ago Actions #1

The styling should also be improved as follows.

.cb_template .cbMoreLessOpen > a {
padding-left: 5px;
}

Updated by beat about 10 years ago Actions #2

  • Target version changed from CB 2.0.12 to CB 2.0.13

Updated by beat almost 10 years ago Actions #3

  • Target version changed from CB 2.0.13 to CB 2.0.14

Updated by krileon almost 10 years ago Actions #4

cbmoreless is default open and not closed. So this isn't an issue given the default behavior always displays the content. However, issue still should be resolved so it can properly work to hide the moreless when switching to the tab.

Updated by krileon almost 10 years ago Actions #5

The max-height is still being applied when default is to display the content. So this is where part of the issue of hidden content is coming from.

Updated by krileon almost 10 years ago Actions #6

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Fixed in MR !1042

Updated by beat almost 10 years ago Actions #7

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom