Skip to content

Conversation

@jnovinger
Copy link
Member

Fixes: #19916

The select list of 'Images and Label', 'Images Only', and 'Label Only' was broken during recent work while implementing #19823.

This fixes the issue by placing the rack_elevation class attribute on the <div> element that contains the SVG after being loaded by HTMX. In addition, we needed to slightly modify the selectors in the frontend code that looked for the elements within the SVG to hide and/or show. Previously, it was looking inside of a contentDocument embedded in an element. The simplified version just looks inside of the SVG containing div.

The select list of 'Images and Label', 'Images Only', and 'Label Only'
was broken during recent work while implementing #19823.

This fixes the issue by placing the `rack_elevation` class attribute on
the <div> element that contains the SVG after being loaded by HTMX. In
addition, we needed to slightly modify the selectors in the frontend
code that looked for the elements within the SVG to hide and/or show.
Previously, it was looking inside of a contentDocument embedded in an
<object> element. The simplified version just looks inside of the
SVG containing div.
@jnovinger jnovinger requested review from a team and jeremystretch and removed request for a team July 23, 2025 10:42
@jnovinger jnovinger added this to the v4.3.5 milestone Jul 23, 2025
@jeremystretch jeremystretch merged commit fa2d7f6 into main Jul 23, 2025
9 of 10 checks passed
@jeremystretch jeremystretch deleted the 19916-rack-options-selector-broken branch July 23, 2025 12:45
@jnovinger jnovinger removed this from the v4.3.5 milestone Jul 23, 2025
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rack Elevation Image/Label Drop-down Does Nothing

3 participants