wave-ui 1.45.9 → 1.45.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wave-ui",
3
- "version": "1.45.9",
3
+ "version": "1.45.13",
4
4
  "description": "An emerging UI framework for Vue.js & Vue 3 with only the bright side. :sunny:",
5
5
  "author": "Antoni Andre <antoniandre.web@gmail.com>",
6
6
  "main": "./dist/wave-ui.umd.js",
@@ -287,9 +287,10 @@ export default {
287
287
 
288
288
  mounted () {
289
289
  // On page load, check if the field is autofilled by the browser.
290
- this.$nextTick(() => {
291
- if (this.$refs.input.value) this.isAutofilled = true
292
- })
290
+ // 20211229. Only a problem on Chrome. Firefox ok, Safari always prompts before filling up.
291
+ setTimeout(() => {
292
+ if (this.$refs.input.matches(':-webkit-autofill')) this.isAutofilled = true
293
+ }, 400) // Can't be less than 350: time for the browser to autofill.
293
294
  },
294
295
 
295
296
  watch: {