APSL / react-native-keyboard-aware-scroll-view

A ScrollView component that handles keyboard appearance and automatically scrolls to focused TextInput.
MIT License
5.24k stars 643 forks source link

(typescript) type scrollIntoView method #537

Open hduprat opened 2 years ago

hduprat commented 2 years ago

I noticed the scrollIntoView method of KeyboardAwareScrollView was not typed in Typescript. I added it, using native Typescript Types from React Native in order to ensure compatibility.

It's a slightly more complete version than #378 that should have been merged back in 2019.

hduprat commented 2 years ago

@alvaromb @slorber Do you have time to read this PR? If not, how can I be of help?

TacticCoder commented 2 years ago

@hduprat, you can use patch-package until they approve

mjvestal commented 1 year ago

I just ran into this issue. Without this PR, linters show an error if you try to use scrollIntoView

slorber commented 1 year ago

Hi

FYI I'm not maintaining this package. It just happened that I got merge/publish access and was the last one to do a release as a service to the community, but I have never been the project maintainer and don't plan to become one. If you want PRs to be reviewed/merged/published, it's best to contact the owners of this repo