Skip to content

Use dataset.didNotAcceptTouch and getAllDivsUnderCoordinate in touch propagation#316

Draft
hobinjk-ptc wants to merge 2 commits into
ptcrealitylab:mainfrom
hobinjk-ptc:fancy-touch-propagation
Draft

Use dataset.didNotAcceptTouch and getAllDivsUnderCoordinate in touch propagation#316
hobinjk-ptc wants to merge 2 commits into
ptcrealitylab:mainfrom
hobinjk-ptc:fancy-touch-propagation

Conversation

@hobinjk-ptc

Copy link
Copy Markdown
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 requested a review from benptc November 28, 2022 18:16
@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
Copy Markdown
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

benptc commented Nov 28, 2022

Copy link
Copy Markdown
Contributor

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.

@hobinjk-ptc
hobinjk-ptc force-pushed the main branch 2 times, most recently from fc558b0 to 7c8dc5c Compare November 8, 2024 01:01
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