-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
GridSplitter ShowPreview doesn't work #10700
Comments
Oh nvm, I figured it out as soon as I posted this issue. We have to set ClipToBounds explicitly, but I think it should not be clipped by default? Some updates on my thought: |
I just saw the adorner layer issue too and filed a new bug for it. |
* Don't overwrite IsClipEnabled. The user should be able to set this on an adorner themselves. * Use correct clip bounds for adorners. Only take the adorned visual's clip bounds into account if the adorner is clipped to these bounds. * Disable clipping on GridSplitter adorner. Fixes #10700 * Don't clip adorners in ControlCatalog. Default setting is `true`, but this was being overridden in `AdornerLayer.AddVisualAdorner`. That was fixed by an earlier commit in this PR, so property needs to be set explicitly to false in ControlCatalog.
Describe the bug
GridSplitter should show a preview line, but the preview line disappear after mouse leaving the original area.
To Reproduce
Steps to reproduce the behavior:
Add below xaml code in sandbox
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
I think the root cause is that preview content in AdornerLayer is not rendered outside GridSplitter clip.
The text was updated successfully, but these errors were encountered: