forked from jverkoey/nimbus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fallback to regular usage of UIAccessibilityElement when the accessib…
…ility container is changed externally. NIViewAccessibilityElement overrides UIAccessibilityElement behavior by delaying computing its accessibility frame (which is in screen corrdinates). In that case, the accessibility frame is computed upon request based on the position at that moment of the actual visual component made accessible. This holds true until the accessibility container is changed externally. For example, when the accessibility element is in a table view hierarchy). In that case, the initial accessibility container is changed to a UITableViewCellAccessibilityElement and frameInContainer becomes invalid. This commit invalidates NIViewAccessibilityElement's special treatment and fallback to the regular behavior.
- Loading branch information
Showing
1 changed file
with
50 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters