-
-
Notifications
You must be signed in to change notification settings - Fork 747
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
Random bugs with elements appearance #138
Comments
You could try to add the color directly without this in something like this <vs-button vs-color="#f26711" vs-type="filled">Color</vs-button> to verify if it works as a duty and the problem is the color or |
@luisDanielRoviraContreras yes, it works if I assign color directly |
I see where the problem is please change data and put it on start something like that new Vue({
el: '#app',
data:{
colorx:'#c72a75',
colorx2:'#5252e8'
}
}) and remove the other It should be like this <!DOCTYPE html>
<html>
<head>
<link href="https://cdn.jsdelivr.net/npm/vuesax/dist/vuesax.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui">
</head>
<body>
<div id="app">
<input type="color" v-model="colorx" name="" value="">
<input type="color" v-model="colorx2" name="" value="">
<vs-button :vs-color="colorx" vs-type="filled">Color</vs-button>
<vs-button :vs-color="colorx" vs-type="border">Color</vs-button>
<vs-button :vs-color="colorx" vs-type="flat">Color</vs-button>
<vs-button :vs-color="colorx" vs-type="line">Color</vs-button>
<vs-button :vs-color="colorx" :vs-gradient-color-secondary="colorx2" vs-type="gradient">Color</vs-button>
<vs-button :vs-color="colorx" vs-type="relief">Color</vs-button>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vuesax/dist/vuesax.umd.js"></script>
<script>
new Vue({
el: '#app',
data:{
colorx:'#c72a75',
colorx2:'#5252e8'
},
})
</script>
</body>
</html> |
@luisDanielRoviraContreras
|
That already has to do with the support to the fun material icons |
@luisDanielRoviraContreras
In general don't you plan to recheck all the examples you describe in readme. The library looked cool but in reality it is too buggy to use in real projects. In releases you wrote version "v3.0.23" but it should be "v0.x" with such obvious bugs in library and or readme.
|
I will verify and I would like to thank you very much for the contribution the versions were changed by mistake and you can not go back to if you can give me a repo or example it would be great, thanks |
@luisDanielRoviraContreras and finally the issue's closed state remains. Why not to back it to open state? |
OSX 10.13.4
Node.js version - 10.4.1
Vuesax version - 3.1.26
Browser version - Chrome 67.0.3396.87, Safari 11.1
package manager - npm
Just look at picture:
![screen shot 2018-06-22 at 17 17 56](https://user-images.githubusercontent.com/11498205/41781465-46c10b7e-7640-11e8-9576-b81bbf3c36f3.png)
from top to bottom:
(Safari + page with tutorials looks like "Chrome + page with tutorials" but has text fields with values "#c72a75" and "#5252e8" instead of color pickers)
Why did all colors become black and blue? And if safari doesn't support the color picker then where are hex values I specified?
The text was updated successfully, but these errors were encountered: