A behaviour of a control that allows automatic scrolling capability.
Questions tagged [autoscroll]
592 questions
86
votes
12 answers
How to make a SwiftUI List scroll automatically?
When adding content to my ListView, I want it to automatically scroll down.
I'm using a SwiftUI List, and a BindableObject as Controller. New data is getting appended to the list.
List(chatController.messages, id: \.self) { message in
…

Seb
- 1,586
- 1
- 11
- 15
52
votes
22 answers
Stop ScrollView from auto-scrolling to an EditText
Seems to be a common problem without a great solution that I have found. Goal is to stop a ScrollView from auto-scrolling to an EditText (or any view for that matter) that has focus.
You have a bunch of views (Buttons, TextViews, etc) in an…

Fraggle
- 8,607
- 7
- 54
- 86
47
votes
4 answers
Multiline Textbox with automatic vertical scroll
There are a lot of similiar questions over internet, on SO included, but proposed solutions doesn't work in my case.
Scenario : there is a log textbox in xaml

Jaded
- 1,802
- 6
- 25
- 38
24
votes
5 answers
Android scrollview autoscrolling as text is added
I have a scrollview containing a textview in an Android app. This textview will have text appended to it continuously at set intervals. Scrolling works and the text adds just fine, but what I'd like to do is have the scrollview autoscroll down as…

AndroidHopeful
- 269
- 1
- 2
- 4
23
votes
6 answers
how to maintain scroll position of listview when it updates
I have read plenty of examples ,but if I wish to maintain my scroll position after a ListView is updated from JSON ,then can I do that without using an AsyncTask instance ???
the code for my list is
String wrd;
…

Aalok Sharma
- 1,025
- 2
- 12
- 26
22
votes
8 answers
smooth auto scroll by using javascript
I am trying to implement some code on my web page to auto-scroll after loading the page. I used a Javascript function to perform auto-scrolling, and I called my function when the page loads, but the page is still not scrolling smoothly! Is there any…

hiteshtr
- 443
- 2
- 5
- 20
22
votes
4 answers
Auto scrolling to a cell with a specific value
I have a list of numbers in a table view like this.
As you can see the numbers are repeated. Let's consider a set of repeated numbers as a group. So there are group of 1s, group of 2s and so on.
What I want to do is when the app starts, I need to…

Isuru
- 30,617
- 60
- 187
- 303
16
votes
1 answer
How to call NSScrollView autoscroll-method programmatically
I have simple chat application with text messages view-based NSTableView as you can see at the picture below.
Each message contains NSTextView instance having height to fit all the text.
All I need is to start NSScrollView (which…

Daniyar
- 2,975
- 2
- 26
- 39
16
votes
2 answers
Infinite Auto Scroll ListView with Scroll Speed Controlled
I have been working on a ListViewidea where it keeps scrolling automatically with no user interaction and that is absolutely doable using the android APIs for instance smoothScrollToPositionFromTop.
I have implemented ListView BaseAdapter where it…

Ahmad Kayyali
- 8,233
- 13
- 49
- 83
15
votes
1 answer
Auto text scroll for text area (JTextArea) with caret position set to the beginning of the last line
I have a simple Java question here. I want to auto text scroll to the beginning of the last line of a text area created using JTextArea. The amount of text per line of the text area is quite longer than the width of the text area.
Here is the code…

SSaikia_JtheRocker
- 5,053
- 1
- 22
- 41
14
votes
4 answers
Eclipse: After Editing Long Lines Editor Window Automatically Scrolls to Beginning of Line
Some of my Javascript lines of code are longer than the editor window view. I have recently upgraded to the Helios version of Eclipse and noticed that after editing one of these long lines (I am scrolled to the right), after a few seconds the…

icats
- 959
- 3
- 13
- 24
14
votes
8 answers
Automatically scroll multiline TextFormField when it extends the maxLines attribute
I'm implementing a TextFormField with the maxLines attribute set to 3. How can I make the TextFormField scroll down once the user starts with his fourth line? At the moment the cursor is just not visible anymore until the user scrolls down by hand.…

Rainer Wittmann
- 7,528
- 4
- 20
- 34
14
votes
2 answers
What is the use of autoscroll to source and and autoscroll from source features in Intellij IDEs?
I was looking for how to show the open files in project view and found theses two features, I want to know what does the above mentioned features do?

Vikrant Singh
- 669
- 1
- 6
- 18
14
votes
7 answers
JScrollPane and JList auto scroll
I've got the next code:
listModel = new DefaultListModel();
listModel.addElement(dateFormat.format(new Date()) + ": Msg1");
messageList = new JList(listModel);
messageList.setLayoutOrientation(JList.VERTICAL);
messageScrollList…

dododedodonl
- 4,585
- 6
- 30
- 43
13
votes
6 answers
How to force vertical scrollbar always be visible from AutoScroll in WinForms?
Using VS2010 and .NET 4.0 with C# and WinForms:
I always want a Vertical Scrollbar to show for my panel as a disabled scrollbar (when it's not needed, and a enabled one when it can be used.
So it's like a hybrid AutoScroll. I've tried using…

user1104203
- 157
- 1
- 1
- 8