From 90e2d2cf2cac39374241a1de89010767744ad392 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Mon, 4 Dec 2023 14:16:05 -0500 Subject: [PATCH] remove outdated comment --- core/src/components/picker-column/picker-column.tsx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/core/src/components/picker-column/picker-column.tsx b/core/src/components/picker-column/picker-column.tsx index 9d37a7defc..a96620a448 100644 --- a/core/src/components/picker-column/picker-column.tsx +++ b/core/src/components/picker-column/picker-column.tsx @@ -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; }