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

Clean up app-header CSS #103

Merged
merged 1 commit into from
Mar 11, 2016
Merged

Clean up app-header CSS #103

merged 1 commit into from
Mar 11, 2016

Conversation

keanulee
Copy link
Contributor

@keanulee keanulee commented Mar 9, 2016

The commit where these styles were added: ce71a6a

cc @frankiefu @blasten

transition: opacity 0.4s;
-webkit-transform: translateZ(0);
Copy link
Contributor

Choose a reason for hiding this comment

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

Did you find any perf/rendering implication in Safari 8, 9 and iOS? I remember seeing a few issues that went away after adding this rule -webkit-transform: translateZ(0);. In one of them, the shadow didn't render properly and it looked like a solid black box (clearly a bug in Safari). In the second issue, I noticed that sometimes the shadow rendered underneath the content because we don't use z-index, so adding translateZ(0) I believe fixed the issue. It would be good to try with a fixed header that doesn't condense, but that has the waterfall effect to see if we can still repro the issue.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tested the app-header demos on Safari 8 (my Yosemite VM) and the iOS 9 simulator - I didn't see any visual changes on them

@keanulee keanulee changed the title Clean up app-header CSS [DO NOT MERGE] Clean up app-header CSS Mar 9, 2016
@keanulee keanulee changed the title [DO NOT MERGE] Clean up app-header CSS Clean up app-header CSS Mar 9, 2016
@blasten
Copy link
Contributor

blasten commented Mar 11, 2016

LGTM

frankiefu added a commit that referenced this pull request Mar 11, 2016
@frankiefu frankiefu merged commit 73a2092 into master Mar 11, 2016
@frankiefu frankiefu deleted the header-css-updates branch March 11, 2016 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants