I tried it on my site for some time, everything’s working fine! Thanks for letting me know about GitHub, I’ll keep contacting you here then for this issue.
With the double tap issue resolved, there’s only a palm rejection issue to be fixed. It happens occasionally when your palm makes contact with anywhere on the screen before the stylus, resulting in a straight line from where your palm makes contact to your stroke. I wonder if there’s a way to reject palm gestures on the canvas when the Apple Pencil is detected? Many native drawing apps still struggle with palm rejection…
I’ve attached an image demonstrating the problem.
が
thank you.
I was able to share the issue.
If you're having the same problem with the ChickenPaint example ...
The difficult problem so far is unlikely to be solved unless you are the developer of ChickenPaint.
I can report it all together, but it may be better if someone who can speak native English reports it.
I don't personally use them, but those should certainly help! I know many artists use them with their ipads. The issue only comes up occasionally, so it's not a huge problem, with respect to double taps.
I can try bringing it up with the devs. They seem quite inactive unfortunately.
あ
This issue is probably a ChickenPaint issue as well as an iOS issue.
Chicken Paint developers probably don't have the time.
However, the more people who report a problem to GitHub, the better the results may be.
When I report alone, it seems that only one person is aware of the problem.
あ
Chrome Speed - First Input Delay Changes in Chrome 91
↑
English.
>Disable double-tap-to-zoom on mobile viewports
>Double-tap-to-zoom (DTZ) is a gesture used to zoom into text. Previously,
>DTZ was disabled when either zooming was disabled (min-zoom equal to max-zoom) or when the content width fits the viewport width. After this change,
>we also disable DTZ when the viewport meta tag specifies width=device-width or initial-scale>=1.0,
>even when implicitly doing so, like for example in minimum-scale=1.5, maximum-scale=2.
Because DTZ negatively impacts FID and the amount of pages where DTZ is disabled is increased, we expect some sites to see better FID scores.
実はどうにもならないことなのかと思って我慢して使っていたのですが、Whyさんの書き込みと同じ症状が私にもあって、Whyさんの解決のために差とぴあさんが提案してくださった
touchaction noneのタグを入れてテストしてみたら、ズームしたり、そのまま動作が固まったりして描画続行不可能になるバグが解消されました。
Whyさんnice!I had same trouble too!
さとぴあさんもWhyさんもありがとうございます。
I can also confirm the same issue on the author's site. Double tap zoom is disabled on the "Tools, Misc, Stroke and Color swatches" toolbars, but the rest also have the double tap problem.
Hi, thanks again for bringing back OekakiBBS! Apologies for English, or if I posted in the wrong place....
I've noticed when using Ipad+Apple pencil, Chickenpaint zooms in when double tapping on the "Misc" toolbar. This can make drawing quite cumbersome when you want to undo multiple strokes. The only way to unzoom is to either use pinch gestures on the toolbar or scroll to "Tool Options" and double tap there.
Interestingly, this behaviour isn't observed trying the sample program on the developer's site thenickdude.github.io/chickenpaint-example/
<style>
div#chickenpaint-parent :not(input){
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
touch-action: none;
}
</style>
CSS that prevents the screen from being selected. And CSS that doesn't zoom.
Please test again. https://pbbs.sakura.ne.jp/cgi/neosample/poti-board-en/
あ
<style>
div#chickenpaint-parent :not(input){
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
</style>
<script>
var lastTouchEnd = 0;
document.addEventListener('touchend', function (event) {
var now = (new Date()).getTime();
if (now - lastTouchEnd <= 300) {
event.preventDefault();
}
lastTouchEnd = now;
}, false);
</script>
After a conversation with another user, I came to the conclusion that this seems to be the best answer.
We also give feedback to the developers of chickenpaint.
This is a provisional response.
あ
Thanks for working through it! I had seen the other problem as well, I'm glad someone spotted it because I only tested lightly. I'll try a full drawing with the updated Chickenpaint sometime.
iPadでダブルタップズームが発生して、描画続行が困難になる問題を解消しました。
imgタグに、loading="lazy"を追加しました。
これにより、ディスプレイに表示されていない画像はスクロールして、表示が必要になるまで読み込まなくなります。
読み込みの速度が向上し、無駄な転送も発生しません。
ただし、現在のお絵かき掲示板の画面の縦幅の範囲はほとんど読み込まれてしまうので、ほぼ誤差程度の効果しかないかもしれません。