Title: iPad pro editor lose focus after swipping back from safari browser · Issue #4182 · coder/code-server · GitHub
Open Graph Title: iPad pro editor lose focus after swipping back from safari browser · Issue #4182 · coder/code-server
X Title: iPad pro editor lose focus after swipping back from safari browser · Issue #4182 · coder/code-server
Description: OS/Web Information Web Browser: Safari PWA mode Local OS: iPad OS 15 with magic keyboard Remote OS: Centos 8 Remote Architecture: amd64 code-server --version: 3.12.0 Steps to Reproduce Edit code in Safari PWA Swipe out to safari browser,...
Open Graph Description: OS/Web Information Web Browser: Safari PWA mode Local OS: iPad OS 15 with magic keyboard Remote OS: Centos 8 Remote Architecture: amd64 code-server --version: 3.12.0 Steps to Reproduce Edit code in...
X Description: OS/Web Information Web Browser: Safari PWA mode Local OS: iPad OS 15 with magic keyboard Remote OS: Centos 8 Remote Architecture: amd64 code-server --version: 3.12.0 Steps to Reproduce Edit code in...
Opengraph URL: https://github.com/coder/code-server/issues/4182
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"iPad pro editor lose focus after swipping back from safari browser","articleBody":"\u003c!--\r\n\r\nHi there! 👋\r\n\r\nThanks for reporting a bug.\r\n\r\nPlease search for existing issues before filing, as they may contain additional\r\ninformation about the problem and descriptions of workarounds. Provide as much\r\ninformation as you can, so that we can reproduce the issue. Otherwise, we may\r\nnot be able to help diagnose the problem, and may close the issue as\r\nunreproducible or incomplete. For visual defects, please include screenshots to\r\nhelp us understand the issue.\r\n-->\r\n\r\n## OS/Web Information\r\n\r\n- Web Browser: Safari PWA mode\r\n- Local OS: iPad OS 15 with magic keyboard\r\n- Remote OS: Centos 8\r\n- Remote Architecture: amd64\r\n- `code-server --version`: 3.12.0\r\n\r\n## Steps to Reproduce\r\n\r\n1. Edit code in Safari PWA\r\n2. Swipe out to safari browser, view some article, select some word\r\n3. Swipe back to editor\r\n4. Sometime, it will lose focus, after re-focus, can not type Enter, tab, up/down/left/right arrow, a-z works fine.\r\n\r\n## Expected\r\n\r\n\u003c!-- What should happen? -->\r\nWhen swipe back, the editor should still work\r\n\r\n## Actual\r\n\r\n\u003c!-- What actually happens? -->\r\nVery annoying, in order to bring Enter back, it seems I need to 1. restart Safari browser and the PWA app \r\nOr 2. detach iPad from magic keyboard, type Enter using the on-screen keyboard\r\n\r\n\r\n## Logs\r\n\r\n\u003c!--\r\nFirst run code-server with at least debug logging (or trace to be really\r\nthorough) by setting the --log flag or the LOG_LEVEL environment variable. -vvv\r\nand --verbose are aliases for --log trace. For example:\r\n\r\ncode-server --log debug\r\n\r\nOnce this is done, replicate the issue you're having then collect logging\r\ninformation from the following places:\r\n\r\n 1. The most recent files from ~/.local/share/code-server/coder-logs.\r\n 2. The browser console.\r\n 3. The browser network tab.\r\n\r\nAdditionally, collecting core dumps (you may need to enable them first) if\r\ncode-server crashes can be helpful.\r\n-->\r\n\r\n\u003c!--\r\nIf you're having issues with installation please include the installation logs\r\ni.e. the output of `yarn global add code-server` if you installed with `yarn`\r\n -->\r\n\r\n## Screenshot\r\n\r\n\u003c!-- Ideally provide a screenshot, gif, video or screen recording. -->\r\n\r\n## Notes\r\n\r\n\u003c!-- If you can reproduce the issue on vanilla VS Code,\r\nplease file the issue at the VS Code repository instead. -->\r\n\r\nThis issue can be reproduced in VS Code: Yes/No\r\n","author":{"url":"https://github.com/atcfu","@type":"Person","name":"atcfu"},"datePublished":"2021-09-16T07:14:04Z","url":"https://github.com/coder/code-server/issues/4182"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:81e39528-fb02-9d5c-7b0a-e98aaf6cfd8a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A756:1F2B:78E30C:A24EB4:6B01B1C5 |
| html-safe-nonce | 7726c597ad1d8fcad39afd4803f5e4515b00ff39f6d709fbbe1dc677ec08bd40 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzU2OjFGMkI6NzhFMzBDOkEyNEVCNDo2QjAxQjFDNSIsInZpc2l0b3JfaWQiOiI0MzU1NDU0OTM3MTMyNTQ0NDUzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 7b1b91ba664e6d0b9adeaf3b8fb4c4a25ecddd682ce094b13ab02a66b91835ec |
| hovercard-subject-tag | issue:997865237 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/code-server/4182/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e796909b42466ced1350025cfad851ebbe294cde3304e795dc27c8666f9a421d/coder/code-server/issues/4182 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e796909b42466ced1350025cfad851ebbe294cde3304e795dc27c8666f9a421d/coder/code-server/issues/4182 |
| og:image:alt | OS/Web Information Web Browser: Safari PWA mode Local OS: iPad OS 15 with magic keyboard Remote OS: Centos 8 Remote Architecture: amd64 code-server --version: 3.12.0 Steps to Reproduce Edit code in... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | atcfu |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/code-server git https://github.com/coder/code-server.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 172953845 |
| octolytics-dimension-repository_nwo | coder/code-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 172953845 |
| octolytics-dimension-repository_network_root_nwo | coder/code-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width