You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
In some applications, such as a messaging apps chat box, one would like to scroll to the bottom of a QScrollArea on a new message.
Describe the solution you'd like
An API method for QScrollArea to scroll to the bottom.
constscrollArea=this.$refs.chatScroll;constscrollTarget=scrollArea.getScrollTarget();constduration=300;// ms - use 0 to instant scrollscrollArea.setScrollPosition(scrollTarget.scrollHeight,duration);
Is your feature request related to a problem? Please describe.
In some applications, such as a messaging apps chat box, one would like to scroll to the bottom of a
QScrollArea
on a new message.Describe the solution you'd like
An API method for
QScrollArea
to scroll to the bottom.Describe alternatives you've considered
setScrollPosition
is such a method but the above doesn't seem to scroll to bottom correctly all the time.The text was updated successfully, but these errors were encountered: