Skip to content

Add support for iOS platform by checking the user agent and adjusting…#538

Open
samerserhan91 wants to merge 1 commit into
buuing:masterfrom
samerserhan91:master
Open

Add support for iOS platform by checking the user agent and adjusting…#538
samerserhan91 wants to merge 1 commit into
buuing:masterfrom
samerserhan91:master

Conversation

@samerserhan91

Copy link
Copy Markdown

… the window width calculation accordingly

  • packages/mini/src/utils.js
    • Check user agent for iOS and adjust window width calculation
  • packages/taro/utils/index.js
    • Check user agent for iOS and adjust window width calculation
  • packages/uni/utils.js
    • Check user agent for iOS and adjust window width calculation
    • Handle cases where window width exceeds 960

… the window width calculation accordingly

* **packages/mini/src/utils.js**
  - Check user agent for iOS and adjust window width calculation
* **packages/taro/utils/index.js**
  - Check user agent for iOS and adjust window width calculation
* **packages/uni/utils.js**
  - Check user agent for iOS and adjust window width calculation
  - Handle cases where window width exceeds 960
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant