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 LinearGradient colors on web #5843

Merged

Conversation

EvanBacon
Copy link
Contributor

Why

fix expo/expo-cli#1035

How

Don't parse colors twice on web

Test Plan

New tests to catch colors but we should get NCL stood back up for web

@EvanBacon EvanBacon added Platform: web Using Expo in the browser bug LinearGradient labels Oct 2, 2019
@EvanBacon EvanBacon requested a review from ide October 2, 2019 19:27
@EvanBacon EvanBacon self-assigned this Oct 2, 2019
@EvanBacon EvanBacon changed the title Fix web colors in SDK 35 Fix LinearGradient colors on web Oct 2, 2019
@brentvatne
Copy link
Member

fix lgtm but what caused this to regress in the first place?

Copy link
Member

@ide ide left a comment

Choose a reason for hiding this comment

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

Fix CI too.

EvanBacon and others added 2 commits October 2, 2019 21:56
…t.web.tsx

Co-Authored-By: James Ide <ide@users.noreply.github.com>
@EvanBacon EvanBacon merged commit 841a9f3 into master Oct 8, 2019
@EvanBacon EvanBacon deleted the @evanbacon/expo-linear-gradient/fix-web-colors-again branch October 8, 2019 03:42
EvanBacon added a commit that referenced this pull request Oct 9, 2019
* Fix web colors in SDK 35

* Update packages/expo-linear-gradient/src/__tests__/LinearGradient-test.web.tsx

Co-Authored-By: James Ide <ide@users.noreply.github.com>

* Fixed linting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug LinearGradient Platform: web Using Expo in the browser
Projects
None yet
Development

Successfully merging this pull request may close these issues.

After Upgrading to Expo SDK version to 35. The linear gradient does not seem to be worked for my web project.
3 participants