Fix the `StyleModifier` not being passed from popup to menu (#5805)

* [x] I have followed the instructions in the PR template
This commit is contained in:
Lucas Meurer 2025-03-18 11:29:20 +01:00 committed by GitHub
parent 024dc7b135
commit d698365dac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -556,7 +556,9 @@ impl<'a> Popup<'a> {
.info(info.unwrap_or_else(|| {
UiStackInfo::new(kind.into()).with_tag_value(
MenuConfig::MENU_CONFIG_TAG,
MenuConfig::new().close_behavior(close_behavior),
MenuConfig::new()
.close_behavior(close_behavior)
.style(style.clone()),
)
}));