fix: fix StatefullButton propagation
This commit is contained in:
parent
2e1cf62e6f
commit
3e64b5cc4e
|
|
@ -143,7 +143,7 @@ open class StatefulButton: UIButton {
|
|||
|
||||
let shouldPropagateEvent = eventPropagations[state] ?? true
|
||||
|
||||
if pointInsideView && touchEventReceiver == nil && !shouldPropagateEvent {
|
||||
if pointInsideView && touchEventReceiver == nil && !shouldPropagateEvent && !isHidden {
|
||||
return self // disable propagation
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue