Skip to content

Commit

Permalink
fix(popover): handlePopoverPrepare uses event now
Browse files Browse the repository at this point in the history
  • Loading branch information
hirsch88 committed Jun 9, 2022
1 parent a389a95 commit aaee8a8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ export class Popover {
@Event() balPopoverPrepare!: EventEmitter<string>

@Listen('balPopoverPrepare', { target: 'body' })
handlePopoverPrepare(popoverId: string) {
handlePopoverPrepare(event: CustomEvent<string>) {
const popoverId = event.detail
if (this.popoverId !== popoverId) {
this.dismiss()
}
Expand Down

0 comments on commit aaee8a8

Please sign in to comment.