We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e2da3e commit aed6819Copy full SHA for aed6819
.changeset/large-plums-create.md
@@ -0,0 +1,5 @@
1
+---
2
+"@plextv/react-native-lightning": patch
3
4
+
5
+Fix react-native polyfill to prevent multiple polyfills
packages/react-native-lightning/src/plugins/reactNativePolyfillsPlugin.ts
@@ -41,10 +41,11 @@ function tryFindFocusManager(
41
return null;
42
}
43
44
+let polyfilled = false;
45
46
export const reactNativePolyfillsPlugin = (): Plugin => {
47
// Track the single FocusManager instance
48
let focusManager: FocusManager<LightningViewElement> | null = null;
- let polyfilled = false;
49
50
return {
51
async init() {
0 commit comments