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: clear touch identifier on comment icon down #8627

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

riknoll
Copy link
Contributor

@riknoll riknoll commented Oct 24, 2024

The basics

The details

Resolves

Fixes #8626

Proposed Changes

Calls clearTouchIdentifier() inside the two pointerdown events for the workspace comment icons inside the CommentView class.

Reason for Changes

The two icon pointerdown event handlers inside the workspace CommentView don't ever clear the touch identifier. Click events should always call that function when bound with conditionalBind or else they leave behind an orphaned touchIdentifier that prevents all further events from firing.

Test Coverage

N/A

Documentation

N/A

Additional Information

Tested on the iPad simulator using ios 18.0

@riknoll riknoll requested a review from a team as a code owner October 24, 2024 22:26
@riknoll riknoll requested a review from gonfunko October 24, 2024 22:26
@github-actions github-actions bot added the PR: fix Fixes a bug label Oct 24, 2024
@gonfunko gonfunko merged commit 6a67400 into google:develop Oct 28, 2024
11 checks passed
@gonfunko
Copy link
Contributor

Thank you!

@riknoll
Copy link
Contributor Author

riknoll commented Oct 28, 2024

thanks for the quick review @gonfunko! do you know when this is going to be released? we have a makecode release coming up and we expect a lot of customers will hit this (many of our testers have)

@riknoll riknoll deleted the dev/riknoll/clear-touch-comment branch November 1, 2024 16:41
@gonfunko
Copy link
Contributor

gonfunko commented Nov 4, 2024

I'm hoping to do a point release of v11 including this change in the next couple weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: fix Fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Workspace comments freeze entire workspace when collapsed in ios 18 Safari
2 participants