-
Notifications
You must be signed in to change notification settings - Fork 377
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
fix Combobox z-index stack order issue #1189
Conversation
} | ||
|
||
<style> | ||
@($"#{Id}::part(listbox) {{ max-height: {(string.IsNullOrEmpty(Height) ? null : Height)}; z-index: {ZIndex.ComboboxPopup} }}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you modify the generation of this "string", because when "height" is not defined, the style still contains a "height" attribute.
Example
<style>#combobox::part(listbox) { max-height: ; z-index: 9995 }</style>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. I'll amend the changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm going to be annoying but it's my job 😎. Can you add a space after the max-height? To be consistent with the rest of the generated code.
And it's probably clearer to do $"max-height: {Height};"
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No prob at all
63315e7
to
f17d21b
Compare
@dvoituron I knew you were going to say that! 😂 |
* fix Combobox z-index stack order issue * fix Combobox z-index stack order issue --------- Co-authored-by: Vincent Baaij <[email protected]>
This change resolves #1188