1

I build an app using react native.when I am pulling page in safari browser to down , refresh loader is coming. I dont want pull to refresh loader in safari browser.Can anybody give any suggestions to remove the pull to refresh loader, please.

1 Answers1

0

I found this answer to the problem which seems to work (at least as a patch).

To let react native profit from that, one could do the following (without being proud of what you've done):

export default function App(): ReactElement {
   // dirty patch to disable mobile safari p2r https://stackoverflow.com/a/70579685/1063714
   document.getElementsByTagName("html")[0].style.overflow = "hidden";
   // ... your app specific code
   return (
        {/* ... Your application goes here */ }
   );
}
bastianowicz
  • 358
  • 2
  • 9