Skip to content
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

Shrink view shrinks web view without animation #13

Open
ChristophLabacher opened this issue Dec 7, 2015 · 2 comments · May be fixed by #22
Open

Shrink view shrinks web view without animation #13

ChristophLabacher opened this issue Dec 7, 2015 · 2 comments · May be fixed by #22

Comments

@ChristophLabacher
Copy link

When I use Keyboard.shrinkView(true); it generally works fine, the only trouble I have is that while the keyboards gets animated in (which takes approximately .3s) the web view (and all elements I placed on the bottom of it) jumps to the new size immediately.

Is there anyway of making the size change with a transition so it doesn't look as bad?

I tired putting transition: height .3s on <html> and <body> but it didn't help.

I am not sure whether this is the regular behavior or whether I am doing something wrong.

@anri-asaturov
Copy link

Do you have a position:absolute or fixed on your body?

@cjpearson
Copy link
Owner

I previously added an animation that matched the keyboard's animation, but removed it in this commit. Even though the webview was shrinking correctly, the actual web content shrunk all it once. I posted about it on stack overflow, but so far none of the answers have worked.

@hjellek hjellek linked a pull request Apr 15, 2016 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants