AndroidのWebViewクラスを使用してinnerWidthやinnerHeightを使用すると値が正常に取れない場合がある。 その場合、 webView.clearCache(true); を事前にやると正確に値がとれるようになった。 理由が分からないので不安だが、とりあえず正常に動いてるように見える。
![Android webviewでwindow.innerWidth, window.innerHeightの値がおかしい。](https://cdn-ak-scissors.b.st-hatena.com/image/square/126e9c63960837b5815901e11e1f6c1303c17f2b/height=288;version=1;width=512/https%3A%2F%2Fblog.seesaa.jp%2Fimg%2Fogp_logo.png)
AndroidのWebViewクラスを使用してinnerWidthやinnerHeightを使用すると値が正常に取れない場合がある。 その場合、 webView.clearCache(true); を事前にやると正確に値がとれるようになった。 理由が分からないので不安だが、とりあえず正常に動いてるように見える。
Ememo This is a tumblelog, kinda like a blog but with short-form, mixed-media posts with stuff I like. Scroll down a bit to start reading, or a bit more to read more about me. まぁ大したことはしていないのだけど。 * { -webkit-backface-visibility: hidden; }を追加しただけ。 Androidはレンダリング周りが弱く、CSSでアニメーションさせてもあまり綺麗には動きません。でもゲームのようなものだとやっぱり綺麗にアニメーションさせたい。でも・・というジレンマ。 そこで今回の手法を使うと、レンダリング周りが改善されるかもしれない、というメモ。 この方法は、どこかのバグリストで書いてあ
Second Story is now part of the Razorfish family. Second Story is now part of Razorfish. We’re so proud to be part of our new family, where we will continue building environments that blend digital and physical worlds to create seamless, integrated experiences that make a difference in people’s lives.
Spot the differences in text and image files, or even folders full of files. Review changes in seconds, with the world's most powerful file comparison and merge app. Kaleidoscope 4.2 adds relevant context when resolving a merge conflict from Git, making it easier to maintain your sanity while working on tricky merges. Always clearly see what you are merging and which commits lead to the conflict.
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く