QUnit.config for auto-scrolling to top #414

Closed
gsaliba opened this Issue Feb 12, 2013 · 1 comment

Projects

None yet

2 participants

@gsaliba
gsaliba commented Feb 12, 2013

Would it be possible to get a QUnit.config value to disabled the auto-scrolling to top of the page when a test is run? I'm running some tests asynchronously, and want to be able to turn off the auto-scroll feature.

@gion
gion commented Jul 5, 2013

This is an issue for me too. I'm trying to test a jquery plugin that does some logic on the scroll event.
It's really annoying that I programmatically scroll the page and then it automatically scrolls back.

@MarcDiethelm MarcDiethelm pushed a commit to MarcDiethelm/qunit that referenced this issue Sep 15, 2013
Marc Diethelm Makes scrolling to top of page optional via config, default is true. …
…As requested in issue qunitjs/qunit#414
90afd90
@jzaefferer jzaefferer added a commit that closed this issue Jan 29, 2014
@jzaefferer jzaefferer Core: Add config property for disabling default scroll-to-top
By default, the page scrolls to the top when the suite is done. Setting
this to false will prevent that behaviour.

Fixes gh-414
Closes gh-469
3ed1716
@jzaefferer jzaefferer added a commit to qunitjs/api.qunitjs.com that referenced this issue Jan 29, 2014
@jzaefferer jzaefferer Config: Add scrolltop docs 71facf8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment