react-photo-view icon indicating copy to clipboard operation
react-photo-view copied to clipboard

fix: custom render node offset NaN

Open jyuuroku16 opened this issue 1 year ago • 1 comments

When attrs?.style?.width is a string, such as '390px', subtracting a number like '390px' - 100 can result in a "Not a Number" issue, causing the custom node rendering and scaling to fail.

jyuuroku16 avatar Oct 14 '24 08:10 jyuuroku16

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-photo-view ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 14, 2024 8:28am

vercel[bot] avatar Oct 14 '24 08:10 vercel[bot]