Merge "ReplyWidgetVisual: Replace deprecated selectLastContentOffset call"

This commit is contained in:
jenkins-bot 2023-12-08 23:33:00 +00:00 committed by Gerrit Code Review
commit 264869a561

View file

@ -157,7 +157,7 @@ ReplyWidgetVisual.prototype.focus = function () {
setTimeout( function () {
// Check surface still exists after timeout
if ( targetWidget.getSurface() ) {
targetWidget.getSurface().getModel().selectLastContentOffset();
targetWidget.getSurface().getView().selectLastSelectableContentOffset();
targetWidget.focus();
}
} );