-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
bug: After keyboard open, the content height is wrong #5187
Comments
This looks like the same issue as #5800 but im not sure |
Until now i also found out that the problem is still the calculation of the height of the scrollview, but you also need to set the App to fullscreen and set hideKeyboardAccessoryBar(true) . My problem was fixed because we do not have a Fullscreen App anymore, therefore i can not provide a more detailed problem description. Regards, |
Sounds like it's fixed now, and the upcoming release has a few more fixes. Thanks. |
@adamdbradley Could you reopen the issue? The problem is still here in v1.3.
|
@jgw96 @adamdbradley The bug is still relevant. Check this fix. |
Hello, thanks for using Ionic! This has been fixed in the latest Ionic 1 release 🎉 |
@jgw96 No, it's another bug. And it is still there |
@jgw96 Any update for this issue yet ? Still having this issue in Ionic version 1.3.3 |
Ionic v1 lives here now: https://github.com/ionic-team/ionic-v1 |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Type: bug
Ionic Version: 1.x
Platform: android 5.1 webview
1.Create a screen without header and footer bars
2.Open the keyboard to enter something
=> The height of the content is calculated in the wrong fashion
Code wrong (Original Source code scrollViewNative.js):
scrollViewOffsetHeight = Math.max(0, Math.min(self.__originalContainerHeight, self.__originalContainerHeight - (e.detail.keyboardHeight - 43)));
Code right (Altered Source Code):
scrollViewOffsetHeight = Math.max(0, Math.min(self.__originalContainerHeight, self.__originalContainerHeight - (e.detail.keyboardHeight - ($scope.$hasHeader ? 43 : 0))));
This could of course also be solved in different ways, but this helped me solving the problem.
The text was updated successfully, but these errors were encountered: