Gesture recognizers attached to spans don't work in landscape mode.
#5,824 opened on Apr 5, 2019
Repository metrics
- Stars
- (5,644 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
Description
Gesture recognizers attached to spans don't work (fire events) when displayed in a landscape mode. Additionally, gesture recognizers on spans don't work when the span is truncated.
(Side Note: In creating the reproducible sample, it also appears to me that "HeadTruncation", "TailTruncation", and "MiddleTruncation" don't work when displaying a FormattedString in a Label. You can see this by running the sample on an iPhone or iPhone Simulator. If that is the expected behavior, then the documentation should be updated to reflect that.)
Steps to Reproduce
I have attached a sample that can be used to reproduce the issue. The spans that have gesture recognizers attached to them are blue and underlined like a HTML link.
- Build and launch the attached sample and run in on an iOS device or an iOS simulator.
- In portrait mode, all of the text spans with gesture recognizers that are not truncated will fire events.
- Rotate to landscape mode, none of the gesture recognizers fire events.
Note: The behavior is the same regardless of which orientation you launch the app in: portrait works, landscape doesn't.
Expected Behavior
Gesture recognizers fire events regardless of orientation or truncation.
Actual Behavior
Gesture recognizers that are not truncated only fire events in portrait mode.
Basic Information
- Version with issue: 3.6.0.293080
- Last known good version: None
- IDE: Visual Studio for Mac
- Platform Target Frameworks:
- iOS: 12.1
- Android: (Did not test on Android)
- Nuget Packages:
- Affected Devices: All iOS devices and simulators