Giter VIP home page Giter VIP logo

Comments (7)

swiety85 avatar swiety85 commented on May 25, 2024

I was able to reproduce this problem. I will fix it as soon as possible.
Thanx for info.

from angular2gridster.

swiety85 avatar swiety85 commented on May 25, 2024

This was really strange issue. There were some breaking changes about how Rx.js publishes DOM events.
Regardless of that I found the solution. Fix is in v.0.6.3.
Please check it, and give a hint if it works for you.

from angular2gridster.

AlMuIssues avatar AlMuIssues commented on May 25, 2024

It works fine in v.0.6.3.
Thanks....

from angular2gridster.

tssobe avatar tssobe commented on May 25, 2024

Hi
It works now but after some drags the grid freezes and it is not possible to drag an item.
Anyone else have this issue?
This is from console:
TypeError: Cannot set property '1' of undefined
at GridList.markItemPositionToGrid (gridList.js:353)
at GridList.generateGrid (gridList.js:42)
at new GridList (gridList.js:14)
at GridsterService.initGridList (gridster.service.js:47)
at GridsterService.start (gridster.service.js:38)
at GridsterComponent.ngAfterViewInit (gridster.component.js:50)
at callProviderLifecycles (core.es5.js:11180)
at callElementProvidersLifecycles (core.es5.js:11155)
at callLifecycleHooksChildrenFirst (core.es5.js:11139)
at checkAndUpdateView (core.es5.js:12244)
Thanks

from angular2gridster.

swiety85 avatar swiety85 commented on May 25, 2024

Send me please your config objects for Gridster. I will try to reproduce your problem.

from angular2gridster.

tssobe avatar tssobe commented on May 25, 2024
public gridsterOptions: IGridsterOptions = {
    lanes: 8,
    direction: 'vertical',
    widthHeightRatio: 1,
    dragAndDrop: false,
    resizable: false,
};

public itemOptions = {
    minHeight: 2,
    defaultWidth: 1,
    defaultHeight: 1,
    maxWidth: 8,
    maxHeight: 3
}

But I also change synamically the w,h and dragAndDrop and resizable

from angular2gridster.

sudhakar-sekar avatar sudhakar-sekar commented on May 25, 2024

Hi @tssobe,

I am also facing same problem. I am using v1.5.1.
Please guide me how to resolve the above issue?

from angular2gridster.

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.