angular-cdk-drag-drop

contenteditable is not working with cdkDrag

六月ゝ 毕业季﹏ 提交于 2020-04-28 21:12:48
问题 I am trying to use a div element tag and make it behave as a textarea with css. #textarea { -moz-appearance: textfield-multiline; ------------ card.component.css -webkit-appearance: textarea; border: 1px solid gray; font: medium -moz-fixed; font: -webkit-small-control; height: 28px; overflow: auto; padding: 2px; resize: both; width: 400px; } <div id="textarea" contenteditable>I look like a textarea</div> ---- card.component.html But i am using cdkDrag on my card from parent component(Category

contenteditable is not working with cdkDrag

吃可爱长大的小学妹 提交于 2020-04-28 21:07:23
问题 I am trying to use a div element tag and make it behave as a textarea with css. #textarea { -moz-appearance: textfield-multiline; ------------ card.component.css -webkit-appearance: textarea; border: 1px solid gray; font: medium -moz-fixed; font: -webkit-small-control; height: 28px; overflow: auto; padding: 2px; resize: both; width: 400px; } <div id="textarea" contenteditable>I look like a textarea</div> ---- card.component.html But i am using cdkDrag on my card from parent component(Category