1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-26 03:02:25 -05:00

Fix scrolling

This commit is contained in:
Lance Stout 2013-09-26 10:58:35 -07:00
parent a0a57549cb
commit 49ea416a24
3 changed files with 13 additions and 1 deletions

View File

@ -104,7 +104,7 @@ module.exports = {
queue: false queue: false
}); });
} else { } else {
this.$scrollContainer.scrollTop(height); this.$scrollContainer[0].scrollTop = height;
} }
}, },
scrollToBottom: function (animate) { scrollToBottom: function (animate) {

View File

@ -21,4 +21,10 @@ h3
top: 0px top: 0px
right: 0px right: 0px
left: 181px left: 181px
height: 100%
borderbox() borderbox()
.scroll-container
height: 100%
overflow-y: auto
-webkit-overflow-scrolling: touch

View File

@ -269,10 +269,16 @@ h3 {
top: 0px; top: 0px;
right: 0px; right: 0px;
left: 181px; left: 181px;
height: 100%;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
} }
#pages .scroll-container {
height: 100%;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
#connectionOverlay { #connectionOverlay {
position: fixed; position: fixed;
top: 0px; top: 0px;