You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Сhild elements of a container are assigned the .first and .last CSS classes incorrectly if one of the children is explicitly hidden in the XML template. This causes improper styling for visible elements.
Item 1 should be assigned .first.
Item 5 should be assigned .last.
Current Behavior
Item 1 is assigned .first.
Item 3 is correctly treated as a middle element (no specific classes assigned)
Item 4 is incorrectly assigned .last.
Item 5 is incorrectly treated as a middle element (no specific classes assigned)
Indeed, nice catch, i dont think these position classes ever take visibility into account, here are some more issues / oddities: https://haxeui.org/builder/?b7ec311b
this should be fixed now in git haxeui-core - ive also update haxeui-core / haxeui-html5 on the builder, so the test case works now: https://haxeui.org/builder/?c413e987
Сhild elements of a container are assigned the
.first
and.last
CSS classes incorrectly if one of the children is explicitly hidden in the XML template. This causes improper styling for visible elements.Expected Behavior
Item 1 should be assigned
.first
.Item 5 should be assigned
.last
.Current Behavior
Item 1 is assigned
.first
.Item 3 is correctly treated as a middle element (no specific classes assigned)
Item 4 is incorrectly assigned
.last
.Item 5 is incorrectly treated as a middle element (no specific classes assigned)
Test app / minimal test case
https://haxeui.org/builder/?38da68ef
Your Environment
1.7
fromhaxelib
The text was updated successfully, but these errors were encountered: