Skip to content
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

Fix animation jitter when clicking the "Join a channel" button #1917

Merged
merged 1 commit into from
Jan 5, 2018

Conversation

williamboman
Copy link
Member

@williamboman williamboman commented Dec 28, 2017

(these gifs shows the issue very poorly)

Before
jitter1

After
jitter

@@ -667,7 +667,8 @@ kbd {
}

#sidebar .lobby .add-channel.opened {
transform: rotate(45deg);
// translateZ(0) enables hardware acceleration, this is to avoid jittering when animiating
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How on Earth did that pass our CSS linter lol?!
Even my local linter (also stylelint) reported this, and actually whatever error I make in the CSS, npm run lint:css doesn't flag. There is something wrong in there, I'ma look right after...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

animiating :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Too used to writing SCSS :), fixing

@astorije
Copy link
Member

I can't see this issue on my laptop (macOS, Chrome) or phone (iOS, Safari). I'll try with an old phone (Android, Chrome) to see what happens there.

Just curious, what browser are you using? The rotation doesn't seem centered, which is something I'm not seeing either.

@astorije astorije added this to the 2.7.0 milestone Jan 3, 2018
Copy link
Member

@astorije astorije left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SCSS comment in the CSS file, but I'll be 👍 once this is fixed.

@astorije astorije added the Type: Bug Issues that report and PRs that solve any defects that cause unexpected behaviors. label Jan 4, 2018
@williamboman
Copy link
Member Author

Fixed comment now

@astorije astorije merged commit ede032a into thelounge:master Jan 5, 2018
@astorije astorije changed the title fix animation jitter when clicking join channel button Fix animation jitter when clicking the "Join a channel" button Jan 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issues that report and PRs that solve any defects that cause unexpected behaviors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants