Fix not being able to collapse/expand statuses
Instead of simply returning the content text view from hitTest(_:with:), we need to call the super method so that the system still performs its own checks.
This commit is contained in:
parent
e19364abdf
commit
38085eee37
|
@ -181,7 +181,7 @@ class ContentTextView: LinkTextView {
|
|||
// only accept touches that are over a link
|
||||
override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
|
||||
if getLinkAtPoint(point) != nil || isSelectable {
|
||||
return self
|
||||
return super.hitTest(point, with: event)
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue