Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update userScalable property in viewport object and user-scalable in meta tag #60946

Merged
merged 1 commit into from
Jan 21, 2024

Conversation

jasonuc
Copy link
Contributor

@jasonuc jasonuc commented Jan 21, 2024

This PR introduces changes to the generateViewport documentation.

  • Changes the line that says userScalable: 'no' to userScalable: false because according to TypeScript userScalable is of type boolean | undefined because it's an optional property.
    • Whenever a string is used this error message is shown: Type 'string' is not assignable to type 'boolean | undefined'.
  • Also updates user-scalable in meta tag from user-scalable=1 to user-scalable=no

This is an extension of my previous PR where I omitted these: #60396 (comment)

@jasonuc jasonuc requested review from a team as code owners January 21, 2024 18:24
@jasonuc jasonuc requested review from jh3y and lydiahallie and removed request for a team January 21, 2024 18:24
@ijjk
Copy link
Member

ijjk commented Jan 21, 2024

Allow CI Workflow Run

  • approve CI run for commit: bee2ffe

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

1 similar comment
@ijjk
Copy link
Member

ijjk commented Jan 21, 2024

Allow CI Workflow Run

  • approve CI run for commit: bee2ffe

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

@leerob leerob merged commit 6f39461 into vercel:canary Jan 21, 2024
29 checks passed
@github-actions github-actions bot added the locked label Feb 5, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants