Jquery ui draggable overflow x8/12/2023 ![]() When I enable overflow: auto for parent element it solves the issue. When I scroll left with my custom scrollbar and try to drag an event it's positions calculated incorrectly. I was going to use some javascript to get the height of the project-index div and vertically centre it on the page but a bit like the height/number of rows, I’m a bit worried about the amount of overwriting I’ll need to do when the viewport is less than 480px. Description I have a container with overflow: hidden rule. Is it be possible to have the div draggable like when using a phone or tablet as default, so a drag movement on any element works and only a click on the anchors would go to a new page/act like a click. The drag works great on this example but as soon as I add other elements to the mark-up, anchors + text it’s difficult to drag the interface as you need to find a ‘gap’ to do so. ![]() There is a few issues and I was wondering if you think it’s worth persevering with the plug-in. Though when the viewport’s height is less than 600px (for example) this might be a problem when I just want to display 1 row? Move the draggable object by clicking on it with the mouse and dragging it anywhere within the viewport. Move the draggable object by clicking on it with the mouse and dragging it anywhere within the viewport. Enable draggable functionality on any DOM element. I’ve used a bit of javascript to calculate the width the containing div needs to be. Enable draggable functionality on any DOM element. ![]() I had a look/play around and I found another plug-in, the example below kinda works. Unfortunately I couldn’t get the code working …my limited javascript skills rather than to code you provided!
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |