mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2025-02-01 15:55:05 +00:00
commit
de57b74cdc
@ -492,7 +492,7 @@ RefPtr<Component> ViewStackProcessor::WrapComponents()
|
||||
|
||||
/* orders should not change */
|
||||
std::string componentNames[] = { "flexItem", "display", "transform", "touch", "pan_guesture", "click_guesture",
|
||||
"focusable", "box", "shared_transition", "coverage", "mouse" };
|
||||
"focusable", "coverage", "box", "shared_transition", "mouse" };
|
||||
for (auto& name : componentNames) {
|
||||
auto iter = wrappingComponentsMap.find(name);
|
||||
if (iter != wrappingComponentsMap.end()) {
|
||||
|
@ -76,6 +76,9 @@ bool PopupElementV2::IsDeclarative()
|
||||
|
||||
void PopupElementV2::OnStateChange(bool isVisible)
|
||||
{
|
||||
if (hasShown_ == isVisible) {
|
||||
return;
|
||||
}
|
||||
hasShown_ = isVisible;
|
||||
if (!onStateChange_) {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user