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

Use dataset.didNotAcceptTouch and getAllDivsUnderCoordinate in touch propagation #316

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

hobinjk-ptc
Copy link
Contributor

This new approach cleanly cycles through candidate touch elements
without style modification (setting display: none). This prevents a
potential flash of elements hiding/unhiding themselves during the touch
propagation cycle.

Very high possibility for subtle bugs considering how fundamental this code is

…propagation

This new approach cleanly cycles through candidate touch elements
without style modification (setting display: none). This prevents a
potential flash of elements hiding/unhiding themselves during the touch
propagation cycle.
@hobinjk-ptc hobinjk-ptc self-assigned this Nov 28, 2022
@hobinjk-ptc hobinjk-ptc marked this pull request as draft November 28, 2022 18:17
@hobinjk-ptc
Copy link
Contributor Author

Speak of the devil, as I made this PR the weird bug I encountered at the very start of this rewrite came back so I'm marking this as a draft until I get more time to work on it

@hobinjk-ptc hobinjk-ptc removed the request for review from benptc November 28, 2022 18:18
@benptc
Copy link
Member

benptc commented Nov 28, 2022

Speak of the devil, as I made this PR the weird bug I encountered at the very start of this rewrite came back so I'm marking this as a draft until I get more time to work on it

Sounds good. I think I tried improving this in the past and also ran into bugs. Would be a great improvement if we ensure it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants