-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not conditionally ignore event props (#11059)
* Do not conditionally ignore event props We derive BaseViewConfig from the iOS implementation, which included a line that conditionally ignored event props in case the code was used on any platform other than iOS. This prevented event props from reaching native components that used `createViewConfig` (e.g., Text). This removes the conditional function from BaseViewProps for Windows. * Change files * Add onMouseEnter/Leave event support to BaseViewConfig Resolves #11060 * yarn lint:fix
- Loading branch information
Showing
2 changed files
with
31 additions
and
6 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
change/react-native-windows-b23dc862-597b-4f85-a0e1-d8972cd1d250.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "prerelease", | ||
"comment": "Do not conditionally ignore event props", | ||
"packageName": "react-native-windows", | ||
"email": "erozell@outlook.com", | ||
"dependentChangeType": "patch" | ||
} |
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