#4683 closed enhancement (wontfix)
Turn off all fx, animations.
Reported by: | davidb | Owned by: | Bryan Forbes |
---|---|---|---|
Priority: | high | Milestone: | future |
Component: | fx | Version: | 0.9 |
Keywords: | Cc: | Tom Trenka | |
Blocked By: | Blocking: |
Description (last modified by )
Do we want a way of skipping animations via a flag or something?
Or maybe niftier... perhaps a way of 'styling' animations, allowing customization through css?
Change History (12)
comment:1 Changed 13 years ago by
comment:2 follow-up: 4 Changed 13 years ago by
there are a couple of aspects to this... but I think one of them is a djConfig to just turn animations off for a11y. is that right, davidb?
comment:3 Changed 13 years ago by
Cc: | Tom Trenka added |
---|
FYI, IIRC Tom has asked for this too, although I was thinking of a dijit flag, not changing the behavior of dojo.fx itself. But maybe that's a better idea. Tom said that the animations look cool but after a while some customers find them annoying, slowing down the app (or interaction with the app) unnecessarily.
comment:4 Changed 13 years ago by
Replying to peller:
there are a couple of aspects to this... but I think one of them is a djConfig to just turn animations off for a11y. is that right, davidb?
Maybe. I'd prefer to see us allow settings based on preference or context as opposed to referring specifically to a11y. For example, I might not want animations on my phone (hypothetically).
comment:5 Changed 13 years ago by
All this without added complexity and bloat would be the goal of course :)
comment:6 Changed 13 years ago by
djConfig = { fx:false } could make the default _Animation prototype's duration 1 or 0. we'd still have the overhead of making the animation, but wouldn't have to branch any code anywhere, and the styles would be calculated exactly as they would between start and end states, just realllly fast (1ms).
comment:7 Changed 13 years ago by
Milestone: | 1.1 → 1.2 |
---|
comment:8 Changed 13 years ago by
Description: | modified (diff) |
---|
200 ... setting djConfig = { defaultDuration:0 } should do this out of the box, and still allow for explicit duration setting. |
comment:9 Changed 13 years ago by
Milestone: | 1.2 → future |
---|
comment:10 Changed 12 years ago by
Let's keep an eye on a similar FF bug... we might be able to key off of a browser preference to turn off animations.
comment:11 Changed 9 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
This should be a config flag in Dijit, not in the core of the toolkit.
comment:12 Changed 9 years ago by
Or maybe niftier... perhaps a way of 'styling' animations, allowing customization through css?
See #14251.
I second the second notion of customizing animations via css or something similar. Also a default set of animation properties (timeout etc...)