Markup differences, especially missing wrapper classes

Created on 28 December 2016, almost 8 years ago
Updated 8 May 2023, over 1 year ago

This module is great and I'm making in a dependency for the DRD β†’ module. What I just discovered are 2 missing wrapper classes when a view is attached to an entity:

  1. The class view-[view-name] should be added always
  2. If the advanced settings of a view have another class being defined, that should also be added

Currently, they're both missing and instead the wrapper has this markup:

<div class="contextual-region js-view-dom-id-f2825972edb4a2034a0d9e5edb0eb048e34202d2a42f0d947f92f86809e65227">
  <div data-contextual-id="entity.view.edit_form:view=drd_domain:location=view&name=drd_domain&display_id=page_1&langcode=en" class="contextual">
...
  </div>
</div>

Those attributes are hard to be used in JavaScript and CSS. Any chance of getting the default classes added to the wrapper?

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States AaronBauman Philadelphia

    I'm on D10 using radix theme, and my EVA is rendered inside a container that doesn't get assigned the view classes.

    Not sure if this is a regression, or D10 related, or something specific to my theme setup.
    Anyone else have this issue before i open a new thread?

Production build 0.71.5 2024