Skip to content
Snippets Groups Projects
Commit 25a72672 authored by Andreas Fernandez's avatar Andreas Fernandez Committed by Benni Mack
Browse files

[BUGFIX] Render only one toggle per node in trees

In non-SVG trees, there are currently two icons representing the node's
expansion state rendered that get toggled via CSS rules based on
hard-coded aria attributes and icon identifiers, which is a bad
practice.

To solve this, a new web component `typo3-backend-tree-node-toggle` is
added whose only responsibility is to render the correct icon based on
its `aria-expanded` attribute

Resolves: #100549
Releases: main, 12.4
Change-Id: I1a955731fc21da01a914b1ef721d7eb2d1e18ed5
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79826


Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarBenni Mack <benni@typo3.org>
parent 6d6eff17
Showing
with 70 additions and 45 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment