Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop target draws in wrong place #134

Open
azatTemirbek opened this issue Jun 28, 2019 · 2 comments
Open

Drop target draws in wrong place #134

azatTemirbek opened this issue Jun 28, 2019 · 2 comments

Comments

@azatTemirbek
Copy link

GO TO : http://dsmorse.github.io/gridster.js/demos/responsive.html
rearrange the items in order to leave free space on the right. Then press F12 key now try to move any left item to the right edge.

DRAGdROP

Originally posted by @azatTemirbek in #3 (comment)

@azatTemirbek azatTemirbek changed the title GO TO : http://dsmorse.github.io/gridster.js/demos/responsive.html Drop target draws in wrong place Jun 28, 2019
@ItsPierre
Copy link

This occurs when you resize the browser window, what happens, if you open the console. I couldn't get any fix for that by now.

@ItsPierre
Copy link

This surely must be a bug. But I think you could fix it by adding an event to window resize and call gridsterObj.init(); after that. With that, Gridster is getting the new width correctly and drop target is in the right place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants