Repository navigation
feat(scrollViewer): Add support for managed scroll bars - #3681
Conversation
43fbeb9 to
14d5d9c
Compare
|
The build 18105 found UI Test snapshots differences: Details
|
|
The build 18105 found UI Test snapshots differences: Details
|
|
The build 18105 found UI Test snapshots differences: Details
|
|
The build 18105 found UI Test snapshots differences: Details
|
e1d8086 to
f59922b
Compare
|
The build 18201 found UI Test snapshots differences: Details
|
|
The build 18201 found UI Test snapshots differences: Details
|
|
The build 18201 found UI Test snapshots differences: Details
|
|
The build 18201 found UI Test snapshots differences: Details
|
…de native SB when managed used.
Those classes are no longer used since the scroll mode is now coalesced by the ScrollViewer before being pushed to the ScrollContentPresenter
|
The build 18294 found UI Test snapshots differences: Details
|
|
The build 18294 found UI Test snapshots differences: Details
|
|
The build 18294 found UI Test snapshots differences: Details
|
|
The build 18294 found UI Test snapshots differences: Details
|
|
The build 18294 found UI Test snapshots differences: Details
|
|
The build 18312 found UI Test snapshots differences: Details
|
|
The build 18312 found UI Test snapshots differences: Details
|
|
The build 18312 found UI Test snapshots differences: Details
|
|
The build 18312 found UI Test snapshots differences: Details
|
|
The build 18321 found UI Test snapshots differences: Details
|
… to cause memory leak which crashed the sample app in UI tests)
|
The build 18321 found UI Test snapshots differences: Details
|
| case ScrollBarVisibility.Visible: | ||
| return Visibility.Visible; | ||
|
|
||
| default: // i.e.: Auto when scrollable <= 0; Hidden; Disabled; |
There was a problem hiding this comment.
Codacy found an issue: Remove this commented out code.
| public const string CollapsedWithoutAnimation = "ScrollBarSeparatorCollapsedWithoutAnimation"; | ||
|
|
||
| // On WinUI3 visuals states are prefixed with "ScrolBar***s***" (with a trailing 's') | ||
| //public const string Collapsed = "ScrollBarsSeparatorCollapsed"; |
There was a problem hiding this comment.
Codacy found an issue: Remove this commented out code.
| await Task.WhenAny(tcs.Task, Task.Delay(30000)); | ||
|
|
||
| Assert.IsTrue(tcs.Task.IsCompleted); | ||
| Assert.IsFalse(tcs.Task.Result); |
There was a problem hiding this comment.
Codacy found an issue: Replace this use of 'Task.Result' with 'await'.
|
The build 18326 found UI Test snapshots differences: Details
|
|
The build 18326 found UI Test snapshots differences: Details
|
|
The build 18326 found UI Test snapshots differences: Details
|
|
The build 18326 found UI Test snapshots differences: Details
|
|
The build 18326 found UI Test snapshots differences: Details
|
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
The build 18356 found UI Test snapshots differences: Details
|
|
The build 18356 found UI Test snapshots differences: Details
|
Feature
Add support for managed
ScrollBarinScrollViewer. Doing so we gain the ability to template them, especially on WASM!What is the current behavior?
The
ScrollVieweris relying on native scroll bars of each platform (through the nativeScrollContentPresenter)What is the new behavior?
We have the ability to add a vertical and/or horizontal
ScrollBarin the template. In that case theScrollViewerwill request to theScrollContentPresenterto hide its scroll bar.PR Checklist
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Runresults.