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.
Asked
Active
Viewed 295 times
1
-
Please provide enough code so others can better understand or reproduce the problem. – Ethan Jun 15 '22 at 23:42
-
Would you provide some further information or consider marking my answer as correct @harinath-reddy – bastianowicz Jan 09 '23 at 20:33
1 Answers
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