Commit 48c9d32
fix(macOS): use transform3D in Fabric component views
Use self.transform3D instead of self.layer.transform on macOS in
RCTViewComponentView, which routes through RCTUIView's persistence
and anchor point compensation. Remove duplicated anchor point
compensation and hitTest: override that are now handled by RCTUIView.
Update hit testing callers to use the new RCTUIViewHitTestWithEvent
signature with fromView parameter.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 7c405e5 commit 48c9d32
2 files changed
Lines changed: 11 additions & 12 deletions
File tree
- packages/react-native/React/Fabric/Mounting/ComponentViews
- ScrollView
- View
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
539 | | - | |
| 539 | + | |
540 | 540 | | |
541 | 541 | | |
542 | 542 | | |
| |||
Lines changed: 10 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | | - | |
| 371 | + | |
| 372 | + | |
380 | 373 | | |
| 374 | + | |
381 | 375 | | |
382 | 376 | | |
383 | 377 | | |
| |||
718 | 712 | | |
719 | 713 | | |
720 | 714 | | |
721 | | - | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
722 | 721 | | |
723 | 722 | | |
724 | 723 | | |
| |||
812 | 811 | | |
813 | 812 | | |
814 | 813 | | |
815 | | - | |
| 814 | + | |
816 | 815 | | |
817 | 816 | | |
818 | 817 | | |
| |||
0 commit comments