perfect-scrollbar icon indicating copy to clipboard operation
perfect-scrollbar copied to clipboard

TypeError: Attempted to assign to readonly property.

Open flundermicha opened this issue 5 years ago • 5 comments

We are seeing TypeError: Attempted to assign to readonly property. in our error reporting at the location perfect-scrollbar.js:6:3736 on some Safari browsers running on MAC OS. (We are using perfect-scrollbar 1.5.0)

I think this is, because in drag_thumb.js the readonly property pageX (or pageY) of the mouse event is tried to be set when the condition touchMode && e.touches is truthy.

flundermicha avatar Aug 28 '20 11:08 flundermicha

I'm getting this issue too, on my Iphone 6, IOS 12.4.1, chrome 84.0.4

sonbuiGFD avatar Aug 31 '20 01:08 sonbuiGFD

Same error for me on iPhone 8, iOS 13.6.1, Safari.

The PR LGTM, please review, test and merge.

6uliver avatar Sep 06 '20 13:09 6uliver

same issue here, IPhone 8 plus, Safari

kamaladenalhomsi avatar Dec 17 '20 12:12 kamaladenalhomsi

I also see this on mobile Safari / iOS web view devices even on latest iOS.

hmoffatt avatar Feb 12 '21 05:02 hmoffatt

Any new info on this? Im using perfect-scrollbar v1.5.5 and this error still pops up in my logs sometimes.

Why was the (imho good PR) from https://github.com/mdbootstrap/Tailwind-Elements/pull/1025 closed?

Will this issue be addressed?

NicerDicerPro avatar Jan 26 '23 08:01 NicerDicerPro