Merge branch 'develop' of https://gitlab.verizon.com/BPHV_MIPS/vds_ios.git into mbruce/textArea-refactor-entryfield

This commit is contained in:
Matt Bruce 2024-03-01 10:41:22 -06:00
commit 85acb35091
4 changed files with 11 additions and 2 deletions

View File

@ -132,4 +132,8 @@ open class Control: UIControl, ViewProtocol, UserInfoable, Clickable {
return true return true
} }
open override func layoutSubviews() {
super.layoutSubviews()
setNeedsUpdate()
}
} }

View File

@ -86,4 +86,9 @@ open class View: UIView, ViewProtocol, UserInfoable {
isEnabled = true isEnabled = true
} }
open override func layoutSubviews() {
super.layoutSubviews()
setNeedsUpdate()
}
} }

View File

@ -80,7 +80,7 @@ open class Loader: View {
super.updateView() super.updateView()
icon.color = iconColorConfiguration.getColor(self) icon.color = iconColorConfiguration.getColor(self)
icon.customSize = size icon.customSize = size
if isActive { if isActive && isVisibleOnScreen {
startAnimating() startAnimating()
} else { } else {
stopAnimating() stopAnimating()

View File

@ -10,7 +10,7 @@ import UIKit
import Combine import Combine
import VDSColorTokens import VDSColorTokens
/// Will move this into a new file, need to talk with Scott/Kyle @objc(VDSTextView)
open class TextView: UITextView, ViewProtocol { open class TextView: UITextView, ViewProtocol {
//-------------------------------------------------- //--------------------------------------------------