update comment

This commit is contained in:
Penar Musaraj 2024-12-13 14:16:21 -05:00
parent 883304b18c
commit e002d5159f
1 changed files with 3 additions and 1 deletions

View File

@ -283,7 +283,9 @@ export default class ComposerEditor extends Component {
}
_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) {
const notScrollable =
event.target.scrollHeight <= event.target.clientHeight;