Skip to content

Fix DataGrid vertical scrollbar LargeChange synchronization - #255

Merged
MrJul merged 1 commit into
AvaloniaUI:mainfrom
zrt2399:fix_vScrollBar_LargeChange
Aug 3, 2026
Merged

Fix DataGrid vertical scrollbar LargeChange synchronization#255
MrJul merged 1 commit into
AvaloniaUI:mainfrom
zrt2399:fix_vScrollBar_LargeChange

Conversation

@zrt2399

@zrt2399 zrt2399 commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Fixes DataGrid PageUp and PageDown scrolling.

Sets the vertical scrollbar LargeChange to the viewport height.

The horizontal scrollbar already synchronizes LargeChange, but the vertical scrollbar did not. Add the missing synchronization so PageUp and PageDown scroll DataGrid by one visible page.

Fixes: #258

@MrJul MrJul left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@MrJul
MrJul merged commit 91e9edc into AvaloniaUI:main Aug 3, 2026
1 check passed
This was referenced Aug 3, 2026
This was referenced Aug 7, 2026
fuzzzerd pushed a commit to fuzzzerd/SharpFM that referenced this pull request Aug 12, 2026
Updated [Avalonia](https://github.com/AvaloniaUI/Avalonia/) from 12.1.0
to 12.1.1.

<details>
<summary>Release notes</summary>

_Sourced from [Avalonia's
releases](https://github.com/AvaloniaUI/Avalonia//releases)._

No release notes found for this version range.

Commits viewable in [compare
view](https://github.com/AvaloniaUI/Avalonia//commits).
</details>

Updated
[Avalonia.Controls.DataGrid](https://github.com/AvaloniaUI/Avalonia.Controls.DataGrid)
from 12.1.0 to 12.1.2.

<details>
<summary>Release notes</summary>

_Sourced from [Avalonia.Controls.DataGrid's
releases](https://github.com/AvaloniaUI/Avalonia.Controls.DataGrid/releases)._

## 12.1.2

## What's Changed
* Inherit DataType for `ClipboardContentBinding` by @​MrJul in
AvaloniaUI/Avalonia.Controls.DataGrid#257
* Fix DataGrid vertical scrollbar `LargeChange` synchronization by
@​zrt2399 in
AvaloniaUI/Avalonia.Controls.DataGrid#255
* Fix DataGrid scroll chaining at layout-rounded boundaries by @​zrt2399
in AvaloniaUI/Avalonia.Controls.DataGrid#256


**Full Changelog**:
AvaloniaUI/Avalonia.Controls.DataGrid@12.1.0...12.1.2

Commits viewable in [compare
view](AvaloniaUI/Avalonia.Controls.DataGrid@12.1.0...12.1.2).
</details>

Updated [Avalonia.Desktop](https://github.com/AvaloniaUI/Avalonia/) from
12.1.0 to 12.1.1.

<details>
<summary>Release notes</summary>

_Sourced from [Avalonia.Desktop's
releases](https://github.com/AvaloniaUI/Avalonia//releases)._

No release notes found for this version range.

Commits viewable in [compare
view](https://github.com/AvaloniaUI/Avalonia//commits).
</details>

Updated [Avalonia.Fonts.Inter](https://github.com/AvaloniaUI/Avalonia/)
from 12.1.0 to 12.1.1.

<details>
<summary>Release notes</summary>

_Sourced from [Avalonia.Fonts.Inter's
releases](https://github.com/AvaloniaUI/Avalonia//releases)._

No release notes found for this version range.

Commits viewable in [compare
view](https://github.com/AvaloniaUI/Avalonia//commits).
</details>

Updated
[Avalonia.Themes.Fluent](https://github.com/AvaloniaUI/Avalonia/) from
12.1.0 to 12.1.1.

<details>
<summary>Release notes</summary>

_Sourced from [Avalonia.Themes.Fluent's
releases](https://github.com/AvaloniaUI/Avalonia//releases)._

No release notes found for this version range.

Commits viewable in [compare
view](https://github.com/AvaloniaUI/Avalonia//commits).
</details>

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DataGrid: ScrollBar context menu commands don't work as expected

2 participants