From 95381b64144cbcf3ae7979e870175cd44bb42ccd Mon Sep 17 00:00:00 2001 From: babaevmm Date: Thu, 17 Apr 2025 13:15:12 +0300 Subject: [PATCH] remove onFocusElementChanged commit_hash:2796b05fb9cf3e5bec2b6afa4ebcdc36f3504b69 --- .../UI/Blocks/DecoratingBlock+UIViewRenderableBlock.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/ios/LayoutKit/LayoutKit/UI/Blocks/DecoratingBlock+UIViewRenderableBlock.swift b/client/ios/LayoutKit/LayoutKit/UI/Blocks/DecoratingBlock+UIViewRenderableBlock.swift index 7c9b64cd0..40ebf9c62 100644 --- a/client/ios/LayoutKit/LayoutKit/UI/Blocks/DecoratingBlock+UIViewRenderableBlock.swift +++ b/client/ios/LayoutKit/LayoutKit/UI/Blocks/DecoratingBlock+UIViewRenderableBlock.swift @@ -544,9 +544,8 @@ private final class DecoratingView: UIControl, BlockViewProtocol, VisibleBoundsT } private func captureFocusIfNeeded() { - if model.captureFocusOnAction, let path = model?.path { + if model.captureFocusOnAction { observer?.clearFocus() - observer?.focusedElementChanged(isFocused: true, forPath: path) } }