always allow the buttons to highlight regardless of a click handler

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2023-10-04 15:35:16 -05:00
parent 5c85bad48a
commit 6ce86b5ac1

View File

@ -81,7 +81,7 @@ open class ButtonBase: UIButton, ViewProtocol, UserInfoable, Clickable {
public var isHighlighting = false
/// Whether the Button should handle the isHighlighted state.
open var shouldHighlight: Bool { isHighlighting == false && onClickSubscriber != nil }
open var shouldHighlight: Bool { isHighlighting == false }
/// Whether the Control is highlighted or not.
open override var isHighlighted: Bool {