Active
Project:
UIkit
Version:
7.x-3.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
8 Feb 2018 at 05:00 UTC
Updated:
8 Feb 2018 at 05:05 UTC
Jump to comment: Most recent
The theme applies UIkit's vertical accordions indiscriminately to any kind of fieldset__collapsible:
// preprocess.inc, line 716
function uikit_preprocess_fieldset(&$variables) {
[..]
if ($group_fieldset) {
$variables['theme_hook_suggestions'][] = 'fieldset__grouped';
}
elseif ($collapsible) {
$variables['theme_hook_suggestions'][] = 'fieldset__collapsible';
$variables['element']['#attributes']['class'][] = 'uk-margin';
$variables['element']['#attributes']['class'][] = 'uk-accordion';
[...]
}
}
dsdfdf
Field group gives use a variety of options, that we could render as beautiful UIKit components.
The UIkit components module does no deal with this.
We should make a condition to deal with those:
Comments
Comment #2
elgandoz commentedComment #3
elgandoz commentedComment #4
elgandoz commented