Merge branch 'release/9_1_0' into 'develop'
release/9_1_0 hotfix merge See merge request BPHV_MIPS/mvm_core_ui!737
This commit is contained in:
commit
75b78d157e
@ -88,14 +88,18 @@ import UIKit
|
||||
}
|
||||
|
||||
@objc public override func dismissFieldInput(_ sender: Any?) {
|
||||
performDropdownAction()
|
||||
if !textField.isFirstResponder {
|
||||
performDropdownAction()
|
||||
}
|
||||
super.dismissFieldInput(sender)
|
||||
}
|
||||
|
||||
func performDropdownAction() {
|
||||
if let baseDropdownEntryFieldModel = baseDropdownEntryFieldModel, let actionModel = baseDropdownEntryFieldModel.action {
|
||||
let additionalDataWithSource = additionalData.dictionaryAdding(key: KeySourceModel, value: baseDropdownEntryFieldModel)
|
||||
MVMCoreActionHandler.shared()?.asyncHandleAction(with: actionModel, additionalData: additionalDataWithSource, delegateObject: delegateObject)
|
||||
}
|
||||
guard let baseDropdownEntryFieldModel = baseDropdownEntryFieldModel,
|
||||
let actionModel = baseDropdownEntryFieldModel.action
|
||||
else { return }
|
||||
|
||||
let additionalDataWithSource = additionalData.dictionaryAdding(key: KeySourceModel, value: baseDropdownEntryFieldModel)
|
||||
MVMCoreActionHandler.shared()?.asyncHandleAction(with: actionModel, additionalData: additionalDataWithSource, delegateObject: delegateObject)
|
||||
}
|
||||
}
|
||||
|
||||
@ -207,6 +207,11 @@ open class Carousel: View {
|
||||
pageIndex = 0
|
||||
}
|
||||
|
||||
open override func reset() {
|
||||
super.reset()
|
||||
pagingView?.reset()
|
||||
}
|
||||
|
||||
var pagingMoleculeName: String?
|
||||
|
||||
/// Sets up the paging molecule
|
||||
|
||||
@ -23,7 +23,7 @@ import UIKit
|
||||
}
|
||||
|
||||
/// Set if this page is containted in a manager.
|
||||
public var manager: (UIViewController & MVMCoreViewManagerProtocol)?
|
||||
public weak var manager: (UIViewController & MVMCoreViewManagerProtocol)?
|
||||
|
||||
/// A temporary iVar backer for delegateObject() until we change the protocol
|
||||
public lazy var delegateObjectIVar: MVMCoreUIDelegateObject = {
|
||||
|
||||
@ -10,7 +10,7 @@ import UIKit
|
||||
|
||||
@objcMembers open class NavigationController: UINavigationController, MVMCoreViewManagerViewControllerProtocol {
|
||||
public var separatorView: Line?
|
||||
public var manager: (UIViewController & MVMCoreViewManagerProtocol)?
|
||||
public weak var manager: (UIViewController & MVMCoreViewManagerProtocol)?
|
||||
|
||||
/// Getter for the main navigation controller
|
||||
public static func navigationController() -> Self? {
|
||||
|
||||
@ -270,7 +270,9 @@ import UIKit
|
||||
bottomBar?.frame = CGRect(x: 0, y: bounds.height - size, width: bounds.width, height: size)
|
||||
|
||||
if updateMoleculeLayout || heightChanged {
|
||||
delegateObject?.moleculeDelegate?.moleculeLayoutUpdated(self)
|
||||
DispatchQueue.main.async { [self] in
|
||||
delegateObject?.moleculeDelegate?.moleculeLayoutUpdated(self)
|
||||
}
|
||||
}
|
||||
|
||||
setNeedsDisplay()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user