Skip to content

Tag: android

remove active class by scrolling in android

I would like to ask how can I remove active class when scrolling? Everything works fine on desktop size, it removes the active class when I’m scrolling, even if I click on any nav menu, when I’m continue scrolling it removes the active class from that nav menu. But it gets weird on mobile device, …

AsyncStorage setItem inside loop crashes

App crashes when trying to save something into asyncStorage. It crashes without an error message however I think the problem is in the while loop: As soon as the loop gets executed, the app crashes, console.log(“got here”) doesn’t even run. This function is called from a Pressable component:…