Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed: Submenus don't show scroll viewer if items exceed the available space on screen #255

Closed
wants to merge 1 commit into from

Conversation

floele-ww
Copy link
Contributor

Test case:

<TextBox>
                    <TextBox.ContextMenu>
                        <ContextMenu>
                            <MenuItem>
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            <MenuItem Header="A" />
                            </MenuItem>
                        </ContextMenu>
                    </TextBox.ContextMenu>
                </TextBox>

@batzen
Copy link
Member

batzen commented Jan 26, 2016

I guess this should better be fixed in the MenuScrollViewer style.
That way it get's fixed in all themes and controls at once.
Fixed it there now.

Thanks for contributing!

@batzen batzen closed this Jan 26, 2016
@floele-ww
Copy link
Contributor Author

Sounds reasonable, thanks!

@batzen batzen added this to the 4.0.0 milestone Feb 6, 2016
@batzen batzen added the Bug 🐞 label Feb 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants