5月8 androidでoverflow:scrollがきかないのをjavascript(jQuery)で解決する カテゴリ:jQueryandroid Tweet ※一部ソースが間違えていたので修正しました[20131028] サイトをつくっていて、特定の領域だけスクロールさせたいとき、 要素をdivでかこんで overflow:scroll; などとします。 スマホ用サイトでも、使うことはちょくちょくあるのですが、なんとandroidでは、overflow:scrollがきかずに、強制的にoverflow:hidden;になってしまうというバグが。 それを解決するライブラリも半日探したけれど見つからず、、 しょうがないのでjavascriptを自分で書いて解決してみたら、 思いの外簡単だったので、共有しときます。 基本的にはコピペでいけると思います。 javascript部分(というか