Search and Top Navigation
#15024 closed bug (notabug)
Opened August 05, 2016 04:30PM UTC
Closed August 05, 2016 04:56PM UTC
Controlgroup: Incorrect corner classes if hidden during initialization
Reported by: | chatis | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.controlgroup | Version: | 1.12.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hello,
I use controlgroup in collapsible accordion... The first opened accordion work well and the corner are runded for controlgroup..
But when I open an other one, controlgroup aren't collapsible anymore..
I have creat a test here : https://jsfiddle.net/scfmwakk/
You can check that this is not working well
Thanl you
Attachments (0)
Change History (2)
Changed August 05, 2016 04:51PM UTC by comment:1
status: | new → open |
---|---|
summary: | rounded controlgroup not working in an accordion → Controlgroup: Incorrect corner classes if hidden during initialization |
Changed August 05, 2016 04:56PM UTC by comment:2
resolution: | → notabug |
---|---|
status: | open → closed |
Actually, this logic is intentional. By default, the controlgroup will only look at visible controls to determine which classes to apply. Since the controls are hidden, the controlgroup doesn't include any of them during the class determination. See the onlyVisible option for more details.
This happens when the controlgroup is hidden during initialization. For now, you can initialize the accordion after initializing the controlgroup: https://jsfiddle.net/scfmwakk/2/