GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Revert 'Fabric-compatible implementation of feature' and have Fabric… · react/react@f8979e0

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/react-native-renderer/src
    • ReactFabricGlobalResponderHandler.js
    • __mocks__/react-native/Libraries/ReactPrivate
      • InitializeNativeFabricUIManager.js
  • scripts/flow
    • react-native-host-hooks.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/react-native-renderer/src/ReactFabricGlobalResponderHandler.js‎

Copy file name to clipboardExpand all lines: packages/react-native-renderer/src/ReactFabricGlobalResponderHandler.js
+1-7Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,7 @@ const ReactFabricGlobalResponderHandler = {
1616
const isFabric = !!fromOrTo.stateNode.canonical._internalInstanceHandle;
1717

1818
if (isFabric) {
19-
if (from) {
20-
nativeFabricUIManager.setIsJSResponder(from.stateNode.node, false);
21-
}
22-
23-
if (to) {
24-
nativeFabricUIManager.setIsJSResponder(to.stateNode.node, true);
25-
}
19+
// Noop for now until setJSResponder/clearJSResponder are supported in Fabric
2620
} else {
2721
if (to !== null) {
2822
const tag = to.stateNode.canonical._nativeTag;
Collapse file

‎packages/react-native-renderer/src/__mocks__/react-native/Libraries/ReactPrivate/InitializeNativeFabricUIManager.js‎

Copy file name to clipboardExpand all lines: packages/react-native-renderer/src/__mocks__/react-native/Libraries/ReactPrivate/InitializeNativeFabricUIManager.js
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ const RCTFabricUIManager = {
176176
);
177177
success(1, 1, 100, 100);
178178
}),
179-
setIsJSResponder: jest.fn(),
180179
};
181180

182181
global.nativeFabricUIManager = RCTFabricUIManager;
Collapse file

‎scripts/flow/react-native-host-hooks.js‎

Copy file name to clipboardExpand all lines: scripts/flow/react-native-host-hooks.js
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ declare var nativeFabricUIManager: {
179179
locationY: number,
180180
callback: (Fiber) => void,
181181
) => void,
182-
setIsJSResponder: (node: Node, isJsResponder: boolean) => void,
183182
...
184183
};
185184

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.