-
Notifications
You must be signed in to change notification settings - Fork 3k
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 zoom and slide on native for PDFView #17647
Merged
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
2515154
Initial work
alexxxwork bf20612
Remove redundant code
alexxxwork 43dc6d6
Merge branch 'main' into issue-15988
alexxxwork 4db1446
Fix comment in FlatList
alexxxwork 879868f
Update src/components/AttachmentCarousel/index.js
alexxxwork e64e030
Fix toggleZoomed func name
alexxxwork 8124997
Fix comment for updateZoomState
alexxxwork 0f17713
Remove redundant View
alexxxwork 925514f
Merge branch 'main' into issue-15988
alexxxwork e990f9a
Fix tap to show arrows
alexxxwork 6dce5dd
Minor fixes and lint
alexxxwork 17e1339
Merge branch 'main' into issue-15988
alexxxwork cbdb329
Fix reset zoom state on page update
alexxxwork e82e1de
Hide arrows when in a zoomed state
alexxxwork 5a2752b
Add comments for debounce func
alexxxwork 2fe3955
Minor style fix
alexxxwork c9013d0
Fix for mWeb onScrollBeginDrag to onScroll
alexxxwork 439c667
Refactor solution to use Pressable in AttachmentView
alexxxwork 31c1d7f
Fix lin issues, remove debounce
alexxxwork 1f8e2d0
Fix lint issues, remove 'this' in AttachmentView
alexxxwork 11eaff0
Refactor toggleArrowsVisibility
alexxxwork de07469
Fix lint issues, add missing import
alexxxwork a341d3e
Fix lint issue
alexxxwork 375655f
Update src/components/AttachmentView.js
alexxxwork a39457f
Replace View with Pressable in AttachmentView
alexxxwork b49ce7c
Update src/components/AttachmentView.js
alexxxwork a3e6026
Fix a bug in upload pdf preview
alexxxwork 68cb6b6
Remove Pressable from AttachmentView
alexxxwork fe44cee
Fix remove redundant onPress in AttachmentView
alexxxwork 5536157
Update src/components/AttachmentView.js
alexxxwork 83cc726
Update src/components/AttachmentView.js
alexxxwork f482778
Fix web pointer regression, set onPress: undefined
alexxxwork File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alexxxwork do you mind to explain why do we need
Pressable
here? In another the words, can we remove thePressable
here? Thanks.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, completely missed this mention. If I remember this right, there was a specific case when arrows wouldn't hide/show if you press attachment before PDF loaded. So we use Pressable and disable it on PDF load complete.
cc: @0xmiroslav