painterro icon indicating copy to clipboard operation
painterro copied to clipboard

Mobile Devices || Touch Event Error || painterro.commonjs2.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'clientX')

Open ravishankardubey opened this issue 3 years ago • 3 comments

Describe the bug When using Painterro on any of the mobile devices, it keeps on throwing the below error

painterro.commonjs2.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'clientX')

This Error Leads to refresh of the page in iPad and other mobile devices

Painterro version v1.2.65

To Reproduce Steps to reproduce the behavior:

  1. Open the live demo link provided in the readme.md file from any mobile device
  2. Try interacting with. your two fingers on the screen
  3. Check out the developer console
  4. iPad leads to refreshing the page after some time of use

Expected behavior Touchpoints should not block anything instead, it should work properly

Screenshots

Screenshot 2021-11-23 at 1 02 00 AM

ravishankardubey avatar Nov 22 '21 19:11 ravishankardubey

Hi, thanks a lot for the issue, we will have to take a look on this one and return with a fix

ivictbor avatar Nov 22 '21 20:11 ivictbor

@ivictbor any update on this?

affan00 avatar Feb 01 '23 16:02 affan00

Not yet. Unfortunetely it is war in our country from Feb 24 so we can't allow ourselfs to spent time on unpaid work. Only commercial development. Feel free to submit PR

ivictbor avatar Feb 01 '23 20:02 ivictbor

Duplicate of issue #151

IhorStorozhok avatar Apr 11 '24 09:04 IhorStorozhok