update comment
This commit is contained in:
parent
883304b18c
commit
e002d5159f
|
@ -283,7 +283,9 @@ export default class ComposerEditor extends Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
_textareaTouchMove(event) {
|
_textareaTouchMove(event) {
|
||||||
// TODO: should we limit this to mobile + ipad?
|
// This is an alternative to locking up the body
|
||||||
|
// Since it targets touch devices, it is essentially limited to
|
||||||
|
// mobile and tablets (iPads in particular are relevant)
|
||||||
if (event.target) {
|
if (event.target) {
|
||||||
const notScrollable =
|
const notScrollable =
|
||||||
event.target.scrollHeight <= event.target.clientHeight;
|
event.target.scrollHeight <= event.target.clientHeight;
|
||||||
|
|
Loading…
Reference in New Issue