mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
remove outdated comment
This commit is contained in:
@@ -341,14 +341,6 @@ export class PickerColumn implements ComponentInterface {
|
||||
this.setPickerItemActiveState(activeEl, false);
|
||||
}
|
||||
|
||||
/**
|
||||
* This null check is important because activeEl
|
||||
* can be undefined but newActiveElement can be
|
||||
* null since we are using a querySelector.
|
||||
* newActiveElement !== activeEl would return true
|
||||
* below if newActiveElement was null but activeEl
|
||||
* was undefined.
|
||||
*/
|
||||
if (newActiveElement === undefined || newActiveElement.disabled) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user