Do not consider keyboardDistanceFromTextField for scrollView contentInset#1655
Do not consider keyboardDistanceFromTextField for scrollView contentInset#1655daniil108 wants to merge 4 commits into
Conversation
|
Hi, can you please share this demo with me? |
|
@hackiftekhar please see the demo, you can try reproduce the issue as on the gif |
|
ok, I'll see it @daniil108 once I get some time. |
|
@daniil108 Thank you so much for solving this issue! I used the solution in my project and it now works as expected. Thank you! @hackiftekhar Any chances of merging it anytime soon? |
|
I will be checking this demo project soon @witekbobrowski. |
|
@hackiftekhar hey! What about this pull request? Do you have questions? |
|
@daniil108 I checked the demo and found that you are correct. The behavior should be like your suggested changes. However, I have to make some more changes after yours to show the scroll indicator at correct position. I'll be merging your changes soon. |

Fixed incorrect behavior when TextFields are on
scrollViewand using a customkeyboardDistanceFromTextField. Now scrolling considerkeyboardDistanceFromTextField. @hackiftekhar please confirm it. If you have any suggestions on how this can be done differently and more correctly, please let me know.Please see gifs

Before:
After:
