Skip to content

Commit

Permalink
Fix typos in ReactCompoundViewGroup comments (facebook#41729)
Browse files Browse the repository at this point in the history
Summary:
Was stepping with debugger through the code & noticed few typos.

## Changelog:

<!-- Help reviewers and the release process by writing your own changelog entry.

Pick one each for the category and type tags:

[ANDROID|GENERAL|IOS|INTERNAL] [BREAKING|ADDED|CHANGED|DEPRECATED|REMOVED|FIXED|SECURITY] - Message

For more details, see:
https://reactnative.dev/contributing/changelogs-in-pull-requests
-->
[ANDROID] [FIXED] - Typos in `ReactCompoundViewGroup` comments

Pull Request resolved: facebook#41729

Test Plan: Typos in docs

Reviewed By: cortinico

Differential Revision: D51753447

Pulled By: arushikesarwani94

fbshipit-source-id: b373d67ca8b6c9f22d80ea1ccee98ecc5151b325
  • Loading branch information
kkafar authored and facebook-github-bot committed Dec 2, 2023
1 parent 5e406cc commit 3854735
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
package com.facebook.react.uimanager;

/**
* This interface should be implemented be native ViewGroup subclasses that can represent more than
* This interface should be implemented by native ViewGroup subclasses that can represent more than
* a single react node. In that case, virtual and non-virtual (mapping to a View) elements can
* overlap, and TouchTargetHelper may incorrectly dispatch touch event to a wrong element because it
* priorities children over parents.
* prioritizes children over parents.
*/
public interface ReactCompoundViewGroup extends ReactCompoundView {
/**
* Returns true if react node responsible for the touch even is flattened into this ViewGroup. Use
* reactTagForTouch() to get its tag.
* Returns true if react node responsible for the touch event is flattened into this ViewGroup.
* Use reactTagForTouch() to get its tag.
*/
boolean interceptsTouchEvent(float touchX, float touchY);
}

0 comments on commit 3854735

Please sign in to comment.