chanind / hanzi-writer

Chinese character stroke order animations and practice quizzes
https://hanziwriter.org
MIT License
3.44k stars 534 forks source link

手写功能在火狐浏览器的兼容问题 #300

Open Qinn94 opened 1 year ago

Qinn94 commented 1 year ago

你好,我在火狐浏览器里用手写功能的时候,如果汉字dom结构的父元素或祖先有设置transform相关的属性,比如scale,transformX等,就会导致手写的path路径偏移,不会显示在正确的位置,这种情况有什么处理方案吗

chanind commented 1 year ago

Does this only happen in Firefox mobile browser? Can you share a simple HTML structure where this happens? I tried putting a transform: rotate(0.1turn); on the target div where the writer is rendering and it seemed to be OK