-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: changed the package used for pull to refresh #33
Apparently, the react-pull-to-refresh package i used before, caused a touch action bug, even when you specify the attribute hammerOptions={{ touchAction: 'auto' }} it bugs the pull down and doesn't refresh anymore, then i found react-simple-pull-to-refresh package and used it, its seems to be all working, plus i added the loading spinner. The package has an impelentation for fetching data too i guess, but i opted for my implementation since i had it already setup. For reference: https://www.npmjs.com/package/react-simple-pull-to-refresh?activeTab=readme
- Loading branch information
Showing
3 changed files
with
36 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.