-
Notifications
You must be signed in to change notification settings - Fork 503
Fix: Scroll to TextInput on picker opening #496
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
Open
chrispader
wants to merge
20
commits into
lawnstarter:master
Choose a base branch
from
chrispader:fix/scroll-to-input-on-open-upstream
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
4f433a6
fix: scroll to TextInput on picker opening
e8102fa
Merge branch 'master' into fix/scroll-to-input-on-open-upstream
83cae10
feat: improve modal height measuring
e2652a4
fix: remove yarn.lock changes
9ef8cd3
fix: update yarn.lock
baeaf11
fix: dependencies
a4953d5
chore: add jest support to eslint
072d68e
test: add dummy test
05f6bf5
fix: disable test temporarily
bea7157
Merge branch 'master' into fix/scroll-to-input-on-open-upstream
3249e81
fix: move function to class function
b32c1f9
Merge branch 'master' into fix/scroll-to-input-on-open-upstream
lfkwtz d4689fb
Merge branch 'master' into fix/scroll-to-input-on-open-upstream
lfkwtz f29820b
add jsdom environment to auto scroll test
cd17731
move setup to after env
bd8d4cc
update packages
77d81b4
update jest
58b6ed2
don't update jest
0e57b79
add react-native env
8751709
remove jsom comment
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 hidden or 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 hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -999,10 +999,10 @@ | |
| "@nodelib/fs.scandir" "2.1.5" | ||
| fastq "^1.6.0" | ||
|
|
||
| "@react-native-picker/picker@^1.8.3": | ||
| version "1.8.3" | ||
| resolved "https://registry.yarnpkg.com/@react-native-picker/picker/-/picker-1.8.3.tgz#fcbf969a4add749fc37ef064a5eb55eadc93db39" | ||
| integrity sha512-zfr8k9L5BJVN7fIrmrto1cCptZjkGoiKWeZTsCR+XormQnWj0Tqrv0S9Ni3SvdT5JZ2OAQ9H+edMRSUvrAxwQA== | ||
| "@react-native-picker/picker@>=2.1.0": | ||
| version "2.4.8" | ||
| resolved "https://registry.yarnpkg.com/@react-native-picker/picker/-/picker-2.4.8.tgz#a1a21f3d6ecadedbc3f0b691a444ddd7baa081f8" | ||
| integrity sha512-5NQ5XPo1B03YNqKFrV6h9L3CQaHlB80wd4ETHUEABRP2iLh7FHLVObX2GfziD+K/VJb8G4KZcZ23NFBFP1f7bg== | ||
|
|
||
| "@types/json5@^0.0.29": | ||
| version "0.0.29" | ||
|
|
@@ -5488,7 +5488,7 @@ [email protected]: | |
| json-stable-stringify-without-jsonify@^1.0.1: | ||
| version "1.0.1" | ||
| resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" | ||
| integrity sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE= | ||
| integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw== | ||
|
|
||
| json-stable-stringify@^1.0.1: | ||
| version "1.0.1" | ||
|
|
@@ -8381,7 +8381,7 @@ test-exclude@^4.2.1: | |
| text-table@^0.2.0: | ||
| version "0.2.0" | ||
| resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" | ||
| integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ= | ||
| integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw== | ||
|
|
||
| throat@^4.0.0, throat@^4.1.0: | ||
| version "4.1.0" | ||
|
|
||
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.
tested with iPhone SE / Mini variants too?
also - does landscape mode work?
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.
also - ipads?
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.
yes, it was compatible, but i just made some improvements 👍 🚀
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.
great. able to add tests?
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.
hey, sorry for the late reply...
i think it's difficult to add tests here, because this is basically an iOS specific feature. With
jest/enzymewe can only test in a mocked environment.I added a dummy test, that reflects a test for this functionality, but this will not work in a web environnment