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
Copy file name to clipboardExpand all lines: tools/reactive-controllers/src/FocusGroup.ts
+7-10Lines changed: 7 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -154,19 +154,16 @@ export class FocusGroupController<T extends HTMLElement>
154
154
this._listenerScope
155
155
);
156
156
}
157
-
/* In handleItemMutation() method the first if condition is checking if the element is not focused or if the element's children's length is not decreasing then it means no element has been deleted and we must return.
158
-
Then we are checking if the deleted element was the focused one before the deletion if so then we need to proceed else we casn return;
159
-
*/
157
+
/* In handleItemMutation() method the first if condition is checking if the element is not focused or if the element's children's length is not decreasing then it means no element has been deleted and we must return.
158
+
Then we are checking if the deleted element was the focused one before the deletion if so then we need to proceed else we casn return;
0 commit comments