Index: trunk/extensions/VisualEditor/modules/es/views/es.SurfaceView.js |
— | — | @@ -285,7 +285,7 @@ |
286 | 286 | this.cursor.initialLeft = null; |
287 | 287 | fakePosition.top = fakePosition.left = 0; |
288 | 288 | break; |
289 | | - } else if ( fakePosition.top > top + this.dimensions.height ) { |
| 289 | + } else if ( fakePosition.top > top + this.dimensions.height + this.dimensions.scrollTop ) { |
290 | 290 | this.cursor.initialLeft = null; |
291 | 291 | fakePosition.left = this.dimensions.width; |
292 | 292 | break; |