Make scrollOnFocus default to false for dojo-based/conify interfaces
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Fri, 28 Sep 2012 19:26:06 +0000 (15:26 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 3 Oct 2012 19:09:33 +0000 (15:09 -0400)
commitba4e46321ca727ee86df1f167e01a5df6373931a
tree2e25339f93396412113c24bcac1ffd3248ec7a10
parent81128c1b53f5649f25f0cea8ba06c491731fe630
Make scrollOnFocus default to false for dojo-based/conify interfaces

This change is intended to prevent a phenomenon in certain user
interfaces wherein clicking on a button or other widget can cause a
user's screen to suddenly jump and the user to need to click the widget
a second time before the desired function actually happens.

Dijits that have the scrollOnFocus property are the ones that tend to
exhibit this issue, especially, but not always, within the staff client
when the user's xulrunner window is not maximized.

There may be cases of interfaces actually relying on scrollOnFocus to do
something, but I think those cases should be so rare that this is still
worth doing, and exceptions can be applied there as needed.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/web/js/ui/base.js