Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I noticed the .ui-accordion
class is being added to the element with the .view-content
class. However, I don't think that that class should be applied to the .attachment .view-content
when the accordion is functioning on the main view content. It hasn't caused any problems in the accordion functioning, but it might cause confusion with CSS.
Not sure how to directly differentiate from the .view-content
on the view and on the attachment. Maybe somewhere the views_accordion jquery needs a .not('.attachment')
?
<div class="view view-front view-id-front view-display-id-page_1 front-top view-dom-id-1">
<div class="attachment attachment-before">
<div class="view view-front view-id-front view-display-id-attachment_2">
<div class="view-content ui-accordion ui-widget ui-helper-reset ui-accordion-icons" role="tablist">
...
</div>
</div>
</div>
<div class="view-content ui-accordion ui-widget ui-helper-reset ui-accordion-icons" role="tablist">
<div class="views-row views-row-1 views-row-odd views-row-first">
...
</div>
</div>
</div>
Comments
Comment #1
kscheirerComment #2
Manuel Garcia CreditAttribution: Manuel Garcia commentedPlesase see the patch that got committed on the related issue. It shouuld help with this situation also.
#2178101: Multiple / embedded view accordions don't work