Opened 7 years ago
Closed 7 years ago
#15024 closed bug (notabug)
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
Change History (2)
comment:1 Changed 7 years ago by
Status: | new → open |
---|---|
Summary: | rounded controlgroup not working in an accordion → Controlgroup: Incorrect corner classes if hidden during initialization |
comment:2 Changed 7 years ago by
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.
Note: See
TracTickets for help on using
tickets.
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/