You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 18, 2018. It is now read-only.
Hello,
I have problem with IE, when I want to edit textArea text inside dragable content it does not working.
HTML5Backend.prototype.handleSelectStart = function handleSelectStart(e) {
// Prevent selection on IE
// and instead ask it to consider dragging.
if (typeof e.target.dragDrop === 'function') {
e.preventDefault();
e.target.dragDrop();
}
};
When I comment this code it is working. Is here some solution to this issue? Thank you
edit: something like this is working, but is it correct way?
HTML5Backend.prototype.handleSelectStart = function handleSelectStart(e) {
if (e.target.nodeName === 'TEXTAREA') {
return;
}
// Prevent selection on IE
// and instead ask it to consider dragging.
if (typeof e.target.dragDrop === 'function') {
e.preventDefault();
e.target.dragDrop();
}
};