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();
}
};
Hello, I have problem with IE, when I want to edit textArea text inside dragable content it does not working.
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?
edit: I am trying it with this component: https://github.com/andreypopp/react-textarea-autosize