thecodeholic / lobipanel

jQuery plugin for bootstrap panels. It extends panels with several common and useful functions.
MIT License
168 stars 75 forks source link

Unable to drag panels to the left #19

Open sabarnett opened 8 years ago

sabarnett commented 8 years ago

This panel system is awesome and is going to solve a massive problem for me creating a user customisable dashboard. In testing I did get one issue. It's a bit of an edge case though, so not a killer problem.

Using the demo code, which has two columns of panels, I dragged all the panels to the right side, intending to reorder them by dragging them back to the left in the required order. With all the panels dragged to the right, you cannot drag a panel to the left. It always drops back in to its original position.

thecodeholic commented 8 years ago

Look at the left panel. Inspect it and check what is the height of the panel.

It must have some height in order to return panel to the left column. So I advise you to give min-height at least 20px to the left column and you will be able to return it back

On Aug 24, 2016 6:23 PM, "sabarnett" notifications@github.com wrote:

This panel system is awesome and is going to solve a massive problem for me creating a user customisable dashboard. In testing I did get one issue. It's a bit of an edge case though, so not a killer problem.

Using the demo code, which has two columns of panels, I dragged all the panels to the right side, intending to reorder them by dragging them back to the left in the required order. With all the panels dragged to the right, you cannot drag a panel to the left. It always drops back in to its original position.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/arboshiki/lobipanel/issues/19, or mute the thread https://github.com/notifications/unsubscribe-auth/AEad0rz6xPs0H-Bb3jPQ5WV4YJLcROh_ks5qjFPlgaJpZM4JsD43 .

sabarnett commented 8 years ago

Worked perfectly, thank you. The code I was using was from the sample you distribute, so it might be worth adding a min-height in the sample.

On a side note; I tried the example on your web site (http://lobianijs.com/site/lobipanel) and the drag/drop code doesn't work at all there. Chrome reports an uncaught reference error "hljs is not defined".

thecodeholic commented 8 years ago

Ok thank you. I will check it

On Aug 25, 2016 10:31 AM, "sabarnett" notifications@github.com wrote:

Worked perfectly, thank you. The code I was using was from the sample you distribute, so it might be worth adding a min-height in the sample.

On a side note; I tried the example on your web site ( http://lobianijs.com/site/lobipanel) and the drag/drop code doesn't work at all there. Chrome reports an uncaught reference error "hljs is not defined".

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub, or mute the thread.