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

Multi-touch interaction border reflow #55

Closed
Sandstedt opened this issue Apr 16, 2020 · 2 comments
Closed

Multi-touch interaction border reflow #55

Sandstedt opened this issue Apr 16, 2020 · 2 comments

Comments

@Sandstedt
Copy link

Bug:
In this example: https://mdn.github.io/dom-examples/touchevents/Multi-touch_interaction.html, the border during swipe-action is causing the other items to move (repaint / reflow) on the page, that in it's turn will trigger a non -swipe-button to be triggered as a swipe due to it's moved.

Solution:
Use some non repaint CSS like outline, or box-shadow instead of the dashed-border.

@chrisdavidmills
Copy link
Contributor

I agree that this could be better. I've updated the border usage to outline. Do you think this fixes the bug?

@Sandstedt
Copy link
Author

Yes it did :) Great!

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

No branches or pull requests

2 participants