LinkLabel icon indicating copy to clipboard operation
LinkLabel copied to clipboard

Bug with `layoutManager.usedRect(for:_)`

Open nikans opened this issue 7 years ago • 0 comments

For some reason, layoutManager.usedRect(for:_) returns height for one row only, rendering all others unavailable for tap actions. I'm simply using gesture recogniser tap location in label as a workaround, works for my simple case.

https://github.com/nikans/LinkLabel/blob/tap-location-bug/Source/UIGestureRecognizer%2BUILabel.swift

nikans avatar Oct 04 '18 16:10 nikans