aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorStephen Blott2016-03-16 11:18:28 +0000
committerStephen Blott2016-03-16 11:18:34 +0000
commitd53ce1494676fb47504d7822f39efe474ffa080b (patch)
tree84f3f37d87eaac57b9c112575ef166f66d5d8fdf /tests
parentaa35d7fe5eae257bc67e13f2f8d3f06442d428c7 (diff)
downloadvimium-d53ce1494676fb47504d7822f39efe474ffa080b.tar.bz2
Relocate first scrollable element.
When the scrollers `activatedElement` isn't scrollable, we currently search up the DOM tree for the next scrollable thing, and stop at `document.body`. However, it can be that that isn't scrollable. When that happens, this commit searches for a scrollable element in the same way as it does when the frame initially loads. This makes it possible to restart scrolling on pages like this one: - http://redux.js.org/docs/basics/UsageWithReact.html after clicking one of index links. Inspired by example posted by @marlun in #425.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions