ScrollView: Scrolling horizontally leads to IndexOutOfRangeException
See original GitHub issuePrecondition: Having Content (e.g. Label) in a ScrollView
Scroll horizontally until the Content leaves the Console Window and an IndexOutOfRangeException is thrown:
Index was outside the bounds of the array.
at Terminal.Gui.TextFormatter.Draw(Rect bounds, Attribute normalColor, Attribute hotColor)
at Terminal.Gui.View.Redraw(Rect bounds)
at Terminal.Gui.View.Redraw(Rect bounds)
at Terminal.Gui.ScrollView.Redraw(Rect region)
at Terminal.Gui.View.Redraw(Rect bounds)
at Terminal.Gui.FrameView.Redraw(Rect bounds)
at Terminal.Gui.View.Redraw(Rect bounds)
at Terminal.Gui.Toplevel.Redraw(Rect bounds)
at Terminal.Gui.Application.RunLoop(RunState state, Boolean wait)
at Terminal.Gui.Application.Run(Toplevel view, Func`2 errorHandler)
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
UIScrollView scrolls horizontally instead of vertically?
I have a UIScrollView with a textfield and a UIImageView in it. I'm trying to make it scroll vertically (with support for device...
Read more >how do I get vertical scrolling to work correctly with ...
I created a scrollview with a vertical layout group set in the content object. Scrolling doesn't work as I expected. I can move...
Read more >ScrollView - .NET MAUI
Both indicates that the ScrollView will scroll horizontally and vertically. Neither indicates that the ScrollView won't scroll.
Read more >Scrolling in a horizontal UIStackView with Storyboard
I put the leading & trailing to match the super view's edge. Put it in the vertically centered position and gave a height...
Read more >Horizontal scroller full disable
The above code hides the horizontal scroller, but mouse wheel still scrolls horizontally even though there are no scrollers present.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Indeed I was using Nuget Package (1.0.0-rc.1). Retested with 1.0.0-rc.8 and its working! Sorry for the inconvenience ^^
I am using combobox control, when I delete characters It throws the same error IndexOutOfRangeException