diff --git a/src/basic/AtomRepeater.tsx b/src/basic/AtomRepeater.tsx index 9fd7a5ab..83de0871 100644 --- a/src/basic/AtomRepeater.tsx +++ b/src/basic/AtomRepeater.tsx @@ -976,7 +976,7 @@ export default class AtomRepeater extends AtomControl { start.removeAttribute("data-selected-item"); } start = start.nextElementSibling as HTMLElement; - if (start.hasAttribute("data-footer")) { + if (start?.hasAttribute("data-footer")) { break; } }