Skip to content

Commit

Permalink
revert comment
Browse files Browse the repository at this point in the history
  • Loading branch information
chunhtai committed May 18, 2023
1 parent 6ae6457 commit 2df5846
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions shell/platform/darwin/ios/framework/Source/SemanticsObject.mm
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,11 @@ - (SemanticsObject*)search:(CGPoint)point {

// iOS uses this method to determine the hittest results when users touch
// explore in VoiceOver.
//
// For overlapping UIAccessibilityElements (e.g. a stack) in IOS, the focus
// goes to the smallest object before IOS 16, but to the top-left object in
// IOS 16. Overrides this method to focus the first eligiable semantics
// object in hit test order.
- (id)_accessibilityHitTest:(CGPoint)point withEvent:(UIEvent*)event {
return [self search:point];
}
Expand Down

0 comments on commit 2df5846

Please sign in to comment.