vuetify.js

How to prevent Leaflet map resizing on zoom in Vue/Vuetify app

江枫思渺然 提交于 2020-05-26 08:21:31
问题 I'm having a problem with a Leaflet map in a Vue.js application using the Vuetify framework. I'm trying to get the map to occupy the full screen (except for the top nav bar) but the map resizes/repositions itself vertically within the page when I click on the zoom buttons. Here are two screenshots of the same problem from a JSFiddle, showing before: and after (note the upwards shift of the map, hiding part of the zoom buttons below the navbar): As far as I can tell, the problem is occurring

How to prevent Leaflet map resizing on zoom in Vue/Vuetify app

主宰稳场 提交于 2020-05-26 08:20:44
问题 I'm having a problem with a Leaflet map in a Vue.js application using the Vuetify framework. I'm trying to get the map to occupy the full screen (except for the top nav bar) but the map resizes/repositions itself vertically within the page when I click on the zoom buttons. Here are two screenshots of the same problem from a JSFiddle, showing before: and after (note the upwards shift of the map, hiding part of the zoom buttons below the navbar): As far as I can tell, the problem is occurring

How to allow flex in Vuetify to exclude a header when vertically shrinking a video

心不动则不痛 提交于 2020-05-17 07:06:38
问题 I am trying to make a <video> to be constrained to the available area in the browser. This is mostly working -- the video is growing and shrinking both horizontally and vertically as the window is reshaped. However, when the height is less than the natural height of the video, the flex spacing is including the height of a <div> right above it: See this fiddle: https://jsfiddle.net/CodeVirtue/z26tc7Ld/47/ Shrink the rendered frame so that it causes the picture to shrink vertically. Notice a

How to allow flex in Vuetify to exclude a header when vertically shrinking a video

妖精的绣舞 提交于 2020-05-17 07:04:52
问题 I am trying to make a <video> to be constrained to the available area in the browser. This is mostly working -- the video is growing and shrinking both horizontally and vertically as the window is reshaped. However, when the height is less than the natural height of the video, the flex spacing is including the height of a <div> right above it: See this fiddle: https://jsfiddle.net/CodeVirtue/z26tc7Ld/47/ Shrink the rendered frame so that it causes the picture to shrink vertically. Notice a

How to allow flex in Vuetify to exclude a header when vertically shrinking a video

萝らか妹 提交于 2020-05-17 07:03:43
问题 I am trying to make a <video> to be constrained to the available area in the browser. This is mostly working -- the video is growing and shrinking both horizontally and vertically as the window is reshaped. However, when the height is less than the natural height of the video, the flex spacing is including the height of a <div> right above it: See this fiddle: https://jsfiddle.net/CodeVirtue/z26tc7Ld/47/ Shrink the rendered frame so that it causes the picture to shrink vertically. Notice a

Unable to display search filter in individual column header using vuetify datatable

早过忘川 提交于 2020-05-16 22:42:57
问题 I'm trying to display text box in every column header for search filter using vuetify datatable. I modify the code in codepen. I'm able to show expected result in codepen. But when I used the same code in my IDE, it does not work. Datatable is displayed but text field doesnot displayed in my browser. I took reference from this link ``` https://codepen.io/fontzter/pen/qywQjK?editors=1010 ``` I replace following select box with text field in codepen code. Select box code Text field code Please

Unable to display search filter in individual column header using vuetify datatable

断了今生、忘了曾经 提交于 2020-05-16 22:42:29
问题 I'm trying to display text box in every column header for search filter using vuetify datatable. I modify the code in codepen. I'm able to show expected result in codepen. But when I used the same code in my IDE, it does not work. Datatable is displayed but text field doesnot displayed in my browser. I took reference from this link ``` https://codepen.io/fontzter/pen/qywQjK?editors=1010 ``` I replace following select box with text field in codepen code. Select box code Text field code Please

Passing Extra Parameters in Vuetify Rules Definition

百般思念 提交于 2020-05-15 09:29:05
问题 My goal is to define my rules once and then reuse them for all of my fields. To do this, I need to pass extra parameters to my rules, like maxlength of 20 on one v-text-field, but a maxlength of 50 on another. From what I see, only the value is getting passed. How can I add extra parameters to my rules? <template> <v-input :rules=[rules.max(20)] v-model="field1" /> <v-input :rules=[rules.max(50)] v-model="field2" /> </template> <script> data() { rules: { max(v, maxnum) { //maxnum is the

Vuetify adds scrollbar when it's not needed

可紊 提交于 2020-05-13 08:08:08
问题 I created a new project with vue-cli, then added vuetify with vue add vuetify . Opened the site and saw a blank page with a useless scrollbar I tried mounting app without actually App component, but the problem still exists. It vanishes only when I remove import './plugins/vuetify' main.js import Vue from 'vue' import './plugins/vuetify' import App from './App.vue' Vue.config.productionTip = false new Vue({ render: h => h(App), }).$mount('#app') 回答1: I have the same problem using vue-cli 3.8

Vue, Vuetify is not properly initialized

雨燕双飞 提交于 2020-05-09 18:54:04
问题 I have setup Vuetify on my Vue webpack application. My project is setup with vue init webpack my-project running Vue 2.5.2 and using Vuetify 2.0.2 . I have installed Vuetify in my App.js import Vue from 'vue' import '../node_modules/vuetify/dist/vuetify.min.css'; import App from './App' import router from './router' import store from './store' import Vuetify from 'vuetify' Vue.use(Vuetify) /* eslint-disable no-new */ new Vue({ el: '#app', router, store, render: h => h(App) }) Everything seems