#attributes did not work for top level item

Created on 20 August 2021, over 3 years ago
Updated 6 May 2024, 8 months ago

Problem/Motivation

I was trying to create a render array in a block for #type html_tag. The #attributes were being ignored when it rendered - but only for the top level item.

Curiously, this problem went away when I gave the top level item an index.

See attached screenshots.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Closed: cannot reproduce

Version

11.0 πŸ”₯

Component
RenderΒ  β†’

Last updated about 8 hours ago

Created by

πŸ‡ΊπŸ‡ΈUnited States JasonSafro

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.

  • I tried reproducing the issue mentioned in the IS but i was not able to do that.I tried it in 2 themes namely umami and claro but i was able to see the classes attached to the rendered elements.Attaching the SS for the same.
    Without index:-

    With index:-

  • Status changed to Closed: cannot reproduce 8 months ago
  • πŸ‡ΊπŸ‡ΈUnited States bnjmnm Ann Arbor, MI

    The findings in #6 show that does not appear to be happening. The screenshots from the bug report indicate that a custom theme is in use, which could very well be the cause.

    I am going to close this as not reproducible. If the issue creator or anyone else can reproduce with a core theme, by all means reopen.

Production build 0.71.5 2024