Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: 3.2
-
Fix Version/s: 3.3
-
Component/s: ACE-Components
-
Labels:None
-
Environment:IF 3.0
-
Assignee Priority:P2
Description
Caused as a result of ICE-7627.
Activity
Nils Lundquist
created issue -
Nils Lundquist
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Fix Version/s | 3.1 [ 10312 ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Fix Version/s | 3.2 [ 10338 ] | |
Fix Version/s | 3.1 [ 10312 ] |
Ken Fyten
made changes -
Assignee | Nils Lundquist [ nils.lundquist ] |
Nils Lundquist
made changes -
Assignee | Nils Lundquist [ nils.lundquist ] | Ken Fyten [ ken.fyten ] |
Migration
made changes -
Fix Version/s | 3.3 [ 10370 ] | |
Fix Version/s | 3.2 [ 10338 ] |
Ken Fyten
made changes -
Assignee | Ken Fyten [ ken.fyten ] | Mark Collette [ mark.collette ] |
Affects Version/s | 3.2 [ 10338 ] | |
Assignee Priority | P2 [ 10011 ] | |
Component/s | ACE-Components [ 10050 ] |
Mark Collette
made changes -
Status | Open [ 1 ] | Closed [ 6 ] |
Resolution | Won't Fix [ 2 ] |
This issue was due to a change in how the tabset sets the disabled state for a tab:
Originally, the tab rendered a style class on a particular node to indicate it is disabled, and during the YUI tabset component initialization, the appropriate tab was disabled in the JS model of the tabset. However enabling the tab rendered the tab, but not the tabset, which is responsible (in the YUI JS) for managing 'selectability', so the tab remained unselectable.
To fix this, tabs were no longer initialized as disabled, they are rendered alike, and the ACE tabset JS has an array indicating the disabled tabs, and at ACE tabset init, we disable the tabs via the available YUI tabset API. However, because the ACE tabset init follows that of the YUI tabset, the YUI tabset has already initialized itself, which includes selecting the first non-disabled tab. If possible the code to process the disabled state included with the ACE tabset config should run before the YUI tabset init- adding the disabled style class to appropriate tabs, allowing the YUI component to init correctly.