Clicking a zoomed-in design to open a comment sometimes fails
Summary
Clicking on a zoomed-in design (in Design View) to open a comment sometimes does not open the comment form
Steps to reproduce
- Upload a design
- Click on the design (open it in Design View)
- Zoom in such that the design overflows (scrollbars appear)
- Observe (or repeat until comment box does not open)
What is the current bug behavior?
Clicking on the design to open a comment sometimes does not work
What is the expected correct behavior?
Clicking the design should always open a comment (given correct permissions)
Output of checks
This bug happens on GitLab.com
Possible fixes
Add a 2px (or similar) buffer to reduce the chance of click-and-drag action kicking in
Edited by Tom Quirk