Problem with Internet Explorer (widget with scroll)
Hello I've a problem with Internet Explorer. When panel have got an internal scroll, I can't drop panel if I click on scroll Thanks for all Daniele
Just tried this and looks like I have the same issue in IE...
Sent from my iPhone
On 11 Feb 2015, at 14:07, Daniele Bulgarelli [email protected] wrote:
Hello I've a problem with Internet Explorer. When panel have got an internal scroll, I can't drop panel if I click on scroll Thanks for all Daniele
— Reply to this email directly or view it on GitHub.
Can you provide a sample?
If appear a scroll, I can't drop the widget (only in internet explorer)
If you are certain that the scroll bar is the cause of the issue then you could leverage the '.ui-draggable-dragging' class name and set the overflow: hidden; property to hide the scroll bar while dragging.
Ok. This is a known issue with jQuery UI http://stackoverflow.com/questions/8793236/using-jquery-ui-draggable-how-to-avoid-drag-when-using-scrollbar
to avoid this bug you can do like so:
<div id="test" style="width: 200px; height: 100px; overflow: auto;
background: lightgoldenrodyellow">
<div class="content">
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Dolorem ea labore porro qui quibusdam voluptates. Atque
nulla odit placeat quidem recusandae repudiandae sed sint
soluta! Accusamus eaque est fugiat officiis?
</div>
</div>
and
$('#test').draggable({
handle: '.content'
});
To override draggable settings please check out gridstack options.
It works!!!! Thanks a lot