Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix actions not working on touch devices #4231

Merged
merged 1 commit into from
Nov 18, 2019
Merged

Conversation

bramkragten
Copy link
Member

@bramkragten bramkragten commented Nov 18, 2019

Fixes #4230

@bramkragten bramkragten added this to the 0.102 milestone Nov 18, 2019
@bramkragten bramkragten merged commit 6ecc604 into dev Nov 18, 2019
@delete-merged-branch delete-merged-branch bot deleted the fix-action-handler branch November 18, 2019 10:27
@bramkragten bramkragten mentioned this pull request Nov 18, 2019
@@ -193,7 +191,7 @@ class ActionHandler extends HTMLElement implements ActionHandler {

customElements.define("action-handler", ActionHandler);

const geActionHandler = (): ActionHandler => {
const getActionHandler = (): ActionHandler => {
Copy link
Member

Choose a reason for hiding this comment

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

🤦‍♂

this.timer = window.setTimeout(() => {
this.startAnimation(x, y);
this.held = true;
}, this.holdTime);
Copy link
Member

Choose a reason for hiding this comment

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

I remember we discussed this somewhat; something to do with not wanting to show the ripple if there was no hold action set

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah I still think this is not necessary when there is no hold action, but I also know @thomasloven had a lot of trouble getting this to work on all devices, so was not going to experiment 2 days before the release.

Copy link
Member

Choose a reason for hiding this comment

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

absolutely

@github-actions github-actions bot locked and limited conversation to collaborators Jul 6, 2022
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.

Entity rows not tappable on iOS in 0.102.0b
3 participants