Bug 203814

Summary: Long pressing an image styled with `object-fit` distorts the image
Product: WebKit Reporter: Sam Baldwin <mail>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: dino, joe, mail, megan_gardner, simon.fraser, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: iPhone / iPad   
OS: iOS 13   
Attachments:
Description Flags
Screen recording showing the bug in iOS (using Simulator) none

Sam Baldwin
Reported 2019-11-04 09:20:06 PST
Created attachment 382744 [details] Screen recording showing the bug in iOS (using Simulator) Long pressing an image styled with the CSS property `object-fit` distorts the proportions of the image. This becomes very problematic when images are part of a carousel or other dynamic components because it is easy to accidentally trigger the long press. To reproduce: 1. Load reduced test case: https://codepen.io/sambaldwin/pen/YzzeYzj (debug view: https://cdpn.io/sambaldwin/debug/YzzeYzj/vWMRwRaodbVr) 2. Long press the image
Attachments
Screen recording showing the bug in iOS (using Simulator) (143.00 KB, video/mp4)
2019-11-04 09:20 PST, Sam Baldwin
no flags
Radar WebKit Bug Importer
Comment 1 2019-11-07 11:14:01 PST
Joe Flateau
Comment 2 2020-12-30 14:40:20 PST
Still an issue in iOS 14.3
Note You need to log in before you can comment on or make changes to this bug.