_CssStateMixin creating incorrect class list
Run test_Select.html.
mousedown on any Select widget and you can see the dijitSelectFocused class applied to the arrow button.
mouseup and dijitSelectFocused is incorrectly removed but dijitFocused and various other "Focused" classes remain and the arrow button changes to a non-focused state.
Move the mouse away and the arrow button class is restored.
This worked correctly in 1.7.2.
Change History (5)
Milestone: |
tbd →
1.8
|
Owner: |
set to bill
|
Priority: |
undecided →
high
|
Status: |
new →
assigned
|
Summary: |
_CssStateMixin creating incorrect class names →
_CssStateMixin creating incorrect class list
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
Thanks for catching that. It's a complicated one.
I'll be glad in 2.0 when we use pseudo-selectors like :focus rather than _CssStateMixin to track hover and focus on widget sub nodes... although I guess dijitSelectFocus on the widget root node will remain, as that's a higher-level indicator that focus is either on one of the Select's sub-nodes, or on the Select's drop-down menu.