ComboBox in a ScrollViewer in Xaml Islands can be scrolled off the window
See original GitHub issueSteps to reproduce the bug
In a XAML Islands application, create a ComboBox
in a ScrollViewer
:
<Page>
<ScrollViewer>
<StackPanel>
<ComboBox>
<ComboBoxItem Content="Foo" />
<ComboBoxItem Content="Bar" />
<ComboBoxItem Content="Baz" />
</ComboBox>
</StackPanel>
<ScrollViewer>
</Page>
(The exact one is over at https://github.com/microsoft/terminal/blob/main/src/cascadia/TerminalSettingsEditor/Launch.xaml#L38-L67)
Run the app, open the comboBox, then mouse over the rest of the scroll viewer and start scrolling.
Steps to reproduce the behavior:
- Go to ‘…’
- Click on ‘…’
Expected behavior In a non-islands app, you can’t scroll the scrollviewer while the combobox is open. You have to dismiss the box first.
Actual behavior
The combo box’s entries float off the top of the window into space
Version Info
NuGet package version:
[Microsoft.UI.Xaml.2.5.0-prerelease.201202003]
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:9 (7 by maintainers)
Top Results From Across the Web
ScrollViewer inside ComboBox popup overflows right back ...
It's by-design within ComboBox control for touch model. ComboBox use CarouselPanel as ItemsPanel by default. It will make the list loop scroll.
Read more >ComboBox within ScrollViewer scrolling issue
Hi, We have a problem with mousewheel scrolling when ComboBox is withing the ScrollView control. To reproduce it: - create a ScrollViewer ......
Read more >Scroll viewer controls - Windows apps
Panning and scrolling allows users to reach content that extends beyond the bounds of the screen.
Read more >ScrollViewer in Uno.UI
ScrollViewer in Uno.UI. The ScrollViewer represents a scrollable area that can contain other visible elements. For more info about its usage, please refer ......
Read more >Wpf Datagrid Scrollbar Not Working
I would like to use a Datagrid to load data by groups of 1000 elements. Styling a ScrollViewer/Scrollbar In WPF. sanibel island toll...
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
This is amazing.
There being no activity on an issue means the issue continues existing, not that it disappears!