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

[Bug?] Unable to use QScreen in computed properties due to it being an Object #2399

Closed
rossity opened this issue Aug 8, 2018 · 1 comment
Milestone

Comments

@rossity
Copy link
Contributor

rossity commented Aug 8, 2018

Software version

Quasar: 0.17.7

JsFiddle (for Quasar v0.15+ only)

https://jsfiddle.net/mvqbcs03/

What did you get as the error?

The greaterThanSmall computed property does not update, due to this.$q.screen.gt being an object and computed properties not watching for deep nested changes in Objects.

What were you expecting?

To be able to use QScreen in computed properties

What steps did you take, to get the error?

Resize the white demo part of the fiddle, you'll see the color of the text change correctly but not the actual value.

@rstoenescu rstoenescu added this to the v0.17.8 milestone Aug 8, 2018
@rstoenescu
Copy link
Member

Thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants