mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 05:42:44 +08:00
fix(Popup): should not auto close on deactivated if not using teleport (#10706)
This commit is contained in:
parent
88d44cf4ea
commit
8ee4080d69
@ -264,7 +264,8 @@ export default defineComponent({
|
||||
});
|
||||
|
||||
onDeactivated(() => {
|
||||
if (props.show) {
|
||||
// teleported popup should be closed when deactivated
|
||||
if (props.show && props.teleport) {
|
||||
close();
|
||||
shouldReopen = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user