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 intermittent size issue #9

Merged
merged 1 commit into from
Nov 17, 2017
Merged

Fix intermittent size issue #9

merged 1 commit into from
Nov 17, 2017

Conversation

Loghorn
Copy link
Contributor

@Loghorn Loghorn commented Feb 3, 2017

Sometimes the image is not displayed with the correct size, because vue
ignores backgroundSize and backgroundOrigin (I don't know why).
Setting all the data on the background attribute fixes the issue.

@rmartins90
Copy link

It works! Thanks 👍

@saintplay
Copy link
Collaborator

Sorry for the late response, can you upgrade your code to javascript template literals, please?

@Loghorn
Copy link
Contributor Author

Loghorn commented Nov 16, 2017

Done

@saintplay
Copy link
Collaborator

Can't merge the pr due the conflicts, please rebase your code

Sometimes the image is not displayed with the correct size, because vue
ignores backgroundSize and backgroundOrigin (I don't know why).
Setting all the data on the background attribute fixes the issue.
@Loghorn
Copy link
Contributor Author

Loghorn commented Nov 17, 2017

👍

@saintplay saintplay merged commit 0f5f581 into eliep:master Nov 17, 2017
@saintplay
Copy link
Collaborator

Thanks

@Loghorn Loghorn deleted the size-bug branch November 20, 2017 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants