Giter VIP home page Giter VIP logo

Comments (7)

peterjslater avatar peterjslater commented on June 5, 2024 1

Great thanks, will try it out next build.

from vue-responsive-dash.

bensladden avatar bensladden commented on June 5, 2024

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.

bensladden avatar bensladden commented on June 5, 2024

Ill have a bit of a think how i can determine if an item has been added after being declared

from vue-responsive-dash.

peterjslater avatar peterjslater commented on June 5, 2024

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.

peterjslater avatar peterjslater commented on June 5, 2024

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.

bensladden avatar bensladden commented on June 5, 2024

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.

bensladden avatar bensladden commented on June 5, 2024

Closing for now. I can open again if there is are more questions

from vue-responsive-dash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.