Comments (7)
Great thanks, will try it out next build.
from vue-responsive-dash.
This is due to the items being compacted when added. If you turn compact off on dashlayout prop it appears as desired.
from vue-responsive-dash.
Ill have a bit of a think how i can determine if an item has been added after being declared
from vue-responsive-dash.
yes please, I would like to leave compact on if possible, so if user moves it around it fills the gaps, but then when the page positions are saved and the page refreshed it should return to the same position as it was when saved. Currently that is not the case.
from vue-responsive-dash.
Actually, I just tried your suggestion and it does solve the issue for me. I turn off compact unless they are in edit mode (draggable) to move the boxes around, and the boxes load in correct positions on a page refresh. So I think its all good for me.
from vue-responsive-dash.
I think ive fixed it now. https://codesandbox.io/s/vue-responsive-dash-rj25l?file=/src/App.vue
It was worth fixing as if feel it will be a common problem
from vue-responsive-dash.
Closing for now. I can open again if there is are more questions
from vue-responsive-dash.
Related Issues (20)
- Lock Dash Item coordinates HOT 6
- Scrollbars and selects does not work inside dash items HOT 2
- Allow setting ignoreFrom on DashItem's interactiveInstance attribute HOT 1
- Locked DashItem prevents touch scrolling HOT 2
- Not receiving moveEnd for not dragging item HOT 2
- Grid not readjusting when changing item width HOT 1
- Components inside dash-item mounted for lowest and current breakpoint. HOT 1
- How to lock item HOT 2
- Loading charts when data is ready
- Dash Item wider than Dash Layout
- Dash Item position issue on adding new item HOT 3
- The "@interactjs/*/index" packages are not quite stable yet. Use them with caution.
- How to save the current position of the elements? HOT 1
- I found a typo.
- Dashboard id rebinding problem.
- Dashboard state update issue HOT 1
- Vue3 Support HOT 4
- Resize event on window resize HOT 1
- Nuxt SSR Support HOT 1
- Known alternative using Vue3? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-responsive-dash.