com.unity.uiextensions icon indicating copy to clipboard operation
com.unity.uiextensions copied to clipboard

Accordion control does not work with dynamically sized content

Open SimonDarksideJ opened this issue 2 years ago • 2 comments

Issue created by <unknown> as Bitbucket Issue #​238 on 2018.05.10 10:27.

  • Create an accordion control.
  • Put text in the panes.
  • Run - works nicely.
  • Remove text from a pane, replace with a scroll view
  • Add text items to the scroll view content pane (along with content size fitter and vertical layout etc)
  • The scroll view's scroll bars are rendered outside of the accordion control and when the user tries to open the respective pane, it fails.
  • Diagnosis: the GetExpandedHeight() method of UIAccordionElement does not correctly compute the height of dynamic content.

SimonDarksideJ avatar Apr 25 '22 18:04 SimonDarksideJ