lobipanel icon indicating copy to clipboard operation
lobipanel copied to clipboard

Unable to drag panels to the left

Open sabarnett opened this issue 9 years ago • 3 comments

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.

sabarnett avatar Aug 24 '16 14:08 sabarnett

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" [email protected] 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 .

thecodeholic avatar Aug 25 '16 04:08 thecodeholic

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".

sabarnett avatar Aug 25 '16 06:08 sabarnett

Ok thank you. I will check it

On Aug 25, 2016 10:31 AM, "sabarnett" [email protected] 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.

thecodeholic avatar Aug 25 '16 07:08 thecodeholic