Skip to content

🐛 fix confirmation dialog actions#4497

Closed
iantrich wants to merge 1 commit into
home-assistant:devfrom
iantrich:fix-confirm-action
Closed

🐛 fix confirmation dialog actions#4497
iantrich wants to merge 1 commit into
home-assistant:devfrom
iantrich:fix-confirm-action

Conversation

@iantrich
Copy link
Copy Markdown
Member

fixes #4468

I was able to replicate the issue but could not figure out why @click was not functioning properly. We have plenty of other uses of @click that work on iOS, so not sure what makes this different. The action-handler feels like a work-around, I guess, but it has been annoying me quite a bit on mobile as well.

@iantrich iantrich requested a review from bramkragten January 17, 2020 02:34
@iantrich iantrich self-assigned this Jan 17, 2020
</paper-dialog-scrollable>
<div class="paper-dialog-buttons">
<mwc-button @click="${this._dismiss}">
<mwc-button @action=${this._dismiss}>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't have the action handler, so it doesn't get the action event?

@bramkragten
Copy link
Copy Markdown
Member

I would rather just find the problem, might look at it myself today.

@iantrich iantrich closed this Jan 17, 2020
@iantrich iantrich deleted the fix-confirm-action branch January 17, 2020 23:33
@lock lock Bot locked and limited conversation to collaborators Jan 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to confirm card deletion.

3 participants