surveyjs / survey-library

Free JavaScript form builder library with integration for React, Angular, Vue, jQuery, and Knockout.
https://surveyjs.io/form-library
MIT License
4.03k stars 787 forks source link

JQuery library does not scale correctly for mobile #8198

Closed SmallPepperZ closed 2 months ago

SmallPepperZ commented 3 months ago

Are you requesting a feature, reporting a bug or asking a question?

Reporting a bug

What is the current behavior?

The mobile view shows a zoomed-out version of the survey

What is the expected behavior?

The text and ui scales to allow the user to see the survey

How would you reproduce the current behavior (if this is a bug)?

  1. Visit any surveyjs page using jquery or knockout on a mobile device, or use your browser's developer tools to simulate a small screen
  2. Observe how the UI does not adjust itself for a mobile device screen size.

Provide the test code and the tested page URL (if applicable)

Tested page URL: https://github.com/surveyjs/code-examples/tree/main/get-started-library/jquery

Specify your

andrewtelnov commented 2 months ago

@SmallPepperZ Please set <meta name="viewport" content="width=device-width, initial-scale=1"> in your html hearder. Here is the example.

PS: I have changed the example with get-started-library.

Thank you, Andrew

SmallPepperZ commented 2 months ago

Thanks!