-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Better animation behavior defaults #210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Hi @JohnnyWestlake, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution! The agreement was validated by Microsoft and real humans are currently evaluating your PR. TTYL, MSBOT; |
Unfortunately this would be a breaking change. |
Would it be breaking? I'm not sure any users would be expecting to attach the behaviour with no properties set and have it automatically just translate their element by a single pixel / rotate by a single pixel. I'd wager no one is relying on this single pixel change. Feels wrong as it is. If anyone actually wants it to do anything right off the bat they'd set the values on it surely? |
Yeah I think you're right:) I won't block the PR but just wanting other thoughts |
It's definitely a change in behavior. Unless we define the current behavior as a bug. The above argument that no one would be using those defaults as they make no sense and hardly does anything are more or less valid. |
This is a breaking change in the current behavior, but frankly, I'd expect the default values to be 0... maybe it's enough to get this into the next minor version change and ensure we mention it on the change log?
@deltakosh seems this was caused by some issue with GitVersion, but I'm not expert on it, @onovotny is our man! If we don't know what caused it or can't fix it, my advice would be to just use the AppVeyor build number like x.y.z.buildNumber |
I agree that the current values are probably incorrect, and so LGTM :) As @pedrolamas says, we probably just need to make a note of the change in the release notes. |
@JohnnyWestlake can you please just update this PR by merging the latest from |
Agree on validating the breaking changes. It is minor and I will document it. |
LGTM |
Currently, animation behaviours set translation offsets of 1, rotation angle of 1, and blur radius of 1 by default. This changes them all to be 0 which most users would expect.