mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 11:41:20 +08:00
fix(select): avoid duplicate dialogs and backdrops when clicking (#25175)
Resolves #25126
This commit is contained in:
@ -188,8 +188,8 @@ export class Select implements ComponentInterface {
|
||||
if (this.disabled || this.isExpanded) {
|
||||
return undefined;
|
||||
}
|
||||
const overlay = (this.overlay = await this.createOverlay(event));
|
||||
this.isExpanded = true;
|
||||
const overlay = (this.overlay = await this.createOverlay(event));
|
||||
overlay.onDidDismiss().then(() => {
|
||||
this.overlay = undefined;
|
||||
this.isExpanded = false;
|
||||
|
Reference in New Issue
Block a user