Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix scroll on profile lists/feeds #2168

Merged
merged 1 commit into from
Dec 11, 2023
Merged

Fix scroll on profile lists/feeds #2168

merged 1 commit into from
Dec 11, 2023

Conversation

gaearon
Copy link
Collaborator

@gaearon gaearon commented Dec 11, 2023

It didn't work due to software-mansion/react-native-reanimated#5488.

We already had a workaround checked in, but it wasn't prominent enough so old imports slipped through.

I renamed the export name itself consistently and added it in the places that missed it so that it's harder to copy paste the wrong thing.

Without whitespace

@@ -20,7 +20,7 @@ import {OnScrollHandler} from '#/lib/hooks/useOnMainScroll'
import {logger} from '#/logger'
import {Trans} from '@lingui/macro'
import {cleanError} from '#/lib/strings/errors'
import {useAnimatedScrollHandler} from 'react-native-reanimated'
import {useAnimatedScrollHandler_FIXED} from '#/lib/hooks/useAnimatedScrollHandler_FIXED'
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fix

@@ -19,7 +19,7 @@ import {OnScrollHandler} from '#/lib/hooks/useOnMainScroll'
import {logger} from '#/logger'
import {Trans} from '@lingui/macro'
import {cleanError} from '#/lib/strings/errors'
import {useAnimatedScrollHandler} from 'react-native-reanimated'
import {useAnimatedScrollHandler_FIXED} from '#/lib/hooks/useAnimatedScrollHandler_FIXED'
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fix

@pfrazee pfrazee merged commit 8929ff5 into main Dec 11, 2023
3 of 4 checks passed
@pfrazee pfrazee deleted the fix-scroll branch December 11, 2023 21:24
@gaearon gaearon mentioned this pull request Dec 11, 2023
estrattonbailey added a commit that referenced this pull request Dec 12, 2023
…japanese

* origin/main: (32 commits)
  i18n settings improvements (#2184)
  1.58
  Double the footer on the list members flatlist
  Fix links in profiles (#2178)
  Patch bad migration, sanitize bad value (#2179)
  Hide the mobile reply control if outside the threadgate (#2177)
  Revise FeedSourceCard load state to allow deletion for failures (#2172)
  Handle failed pinned feed fetches when rendering list of pinned feeds (#2173)
  Don't validate embeds when traversing cache (#2174)
  dismiss keyboard when threadgate settings are opened (#2161)
  Clarify MyList filter intent (#2167)
  Additional reductions in request traffic (#2169)
  Fix scroll on native (#2170)
  Fix scroll on profile lists/feeds (#2168)
  Reduce calls to getFeedGenerator and getFeed (#2166)
  Bump ios and android build numbers
  Fix mock-server init
  Add "Who can reply" controls [WIP] (#1954)
  Bump ios build
  Fix empty state width (#2157)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants