Commit af67f70
[fabric] Add file paste support to TextInput component
Summary: Implement the file/image pasteboard pasting event for the `TextInput` component in Fabric. The payload for the event is the same as for the drag and drop events.
Test Plan:
* Run Zeratul with Fabric enabled
* Copy an image/file on the pasteboard
* Focus the message composer
* Paste the image/file and send the message
https://pxl.cl/4lk92
Reviewers: shawndempsey, #rn-desktop
Reviewed By: shawndempsey
Differential Revision: https://phabricator.intern.facebook.com/D536949221 parent dffdc82 commit af67f70
File tree
1 file changed
+18
-1
lines changed- packages/react-native/React/Fabric/Mounting/ComponentViews/TextInput
1 file changed
+18
-1
lines changedLines changed: 18 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
602 | 602 | | |
603 | 603 | | |
604 | 604 | | |
605 | | - | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
606 | 623 | | |
607 | 624 | | |
608 | 625 | | |
| |||
0 commit comments