diff --git a/example/src/App.tsx b/example/src/App.tsx index b5dac0c9b..4763e3ae2 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -66,7 +66,9 @@ const DEBUG_SCROLLABLE = false; // Enabling this prop fixes input flickering while auto growing. // However, it's still experimental and not tested well. -const ANDROID_EXPERIMENTAL_SYNCHRONOUS_EVENTS = true; +// Disabled for now, as it's causing some strange issues. +// See: https://github.com/software-mansion/react-native-enriched/issues/229 +const ANDROID_EXPERIMENTAL_SYNCHRONOUS_EVENTS = false; export default function App() { const [isChannelPopupOpen, setIsChannelPopupOpen] = useState(false); @@ -80,10 +82,6 @@ export default function App() { const [currentLink, setCurrentLink] = useState(DEFAULT_LINK_STATE); - const [key, setKey] = useState(0); - const incrementKey = () => setKey((v) => v + 1); - const collectGarbage = () => global.gc?.(); - const ref = useRef(null); const userMention = useUserMention(); @@ -264,7 +262,6 @@ export default function App() {