surveyjs / survey-creator

Scalable open-source survey software to generate dynamic JSON-driven forms within your JavaScript application. The form builder features a drag-and-drop UI, CSS Theme Editor, and GUI for conditional logic and form branching.
https://surveyjs.io/open-source
Other
898 stars 373 forks source link

A drag icon appears far from the mouse pointer when applying the `zoom` CSS attribute to a SurveyJS Creator container #5547

Open JaneSjs opened 4 months ago

JaneSjs commented 4 months ago

T18390 - How to scale/zoom the survey creator without breaking functionality https://surveyjs.answerdesk.io/internal/ticket/details/T18390


View Demo

Please refer to the following video:

https://github.com/surveyjs/survey-creator/assets/22372972/de303104-c77a-4438-b31d-d59dfd9b127f

dmitry-kurmanov commented 3 months ago

https://stackoverflow.com/questions/44277435/css-zoom-property-not-working-with-boundingclientrectangle

https://stackoverflow.com/questions/73245677/pinch-zoom-alters-mouseevent-clientx-and-mouseevent-clienty#comment129533364_73245677