diff --git a/Sources/iOS/Classes/SpotsController.swift b/Sources/iOS/Classes/SpotsController.swift index eed3b26f..b349f6e5 100644 --- a/Sources/iOS/Classes/SpotsController.swift +++ b/Sources/iOS/Classes/SpotsController.swift @@ -374,8 +374,9 @@ extension SpotsController { $0.focusDelegate = self } - if focusedComponent == nil { + if focusedComponent == nil && focusedItemIndex == nil { focusedComponent = components.first + focusedItemIndex = 0 } } diff --git a/Spots.podspec b/Spots.podspec index 81779a77..9655ff70 100644 --- a/Spots.podspec +++ b/Spots.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "Spots" s.summary = "A cross-platform view controller framework for building component-based UIs" - s.version = "7.4.1" + s.version = "7.4.2" s.homepage = "https://github.com/hyperoslo/Spots" s.license = 'MIT' s.author = { "Hyper Interaktiv AS" => "ios@hyper.no" }