Questions tagged [autoscroll]

A behaviour of a control that allows automatic scrolling capability.

548 questions
67
votes
9 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,153
  • 1
  • 7
  • 14
46
votes
21 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,177
  • 5
  • 51
  • 85
45
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,660
  • 5
  • 23
  • 37
23
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
  • 259
  • 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,015
  • 2
  • 11
  • 26
19
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
  • 27,485
  • 56
  • 174
  • 278
17
votes
7 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
  • 373
  • 2
  • 4
  • 20
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,852
  • 2
  • 23
  • 38
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,236
  • 13
  • 47
  • 83
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
  • 949
  • 3
  • 13
  • 24
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
  • 597
  • 1
  • 6
  • 16
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,427
  • 6
  • 28
  • 42
13
votes
9 answers

ionic 2 + angular 2 : auto scroll to bottom of list / page / chat

I'm trying to code a page with two segments "chat" and "content". I want that one "chat" segment the page auto-scroll to the bottom with no effect. The chat is a with several . item 1
sandrina-p
  • 2,990
  • 4
  • 25
  • 45
13
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
  • 4,933
  • 1
  • 20
  • 39
12
votes
5 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
  • 147
  • 1
  • 1
  • 8
1
2 3
36 37