Created
January 28, 2016 08:57
-
-
Save pinzolo/6814f6a613a964d804ae to your computer and use it in GitHub Desktop.
overflow-y な コンテナに対してスクロールを一番下に持ってくる
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// AngularJS なら angular.element('#target') | |
var target = jQuery('#target'); | |
target.scrollTop(target.find('.child:last').position().top); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment