{"id":23763932,"url":"https://github.com/tomashubelbauer/contenteditable-focus","last_synced_at":"2026-01-27T00:12:36.059Z","repository":{"id":107986006,"uuid":"278585817","full_name":"TomasHubelbauer/contenteditable-focus","owner":"TomasHubelbauer","description":"Researching a contenteditable focus issue","archived":false,"fork":false,"pushed_at":"2022-04-14T19:53:28.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-01T16:42:41.747Z","etag":null,"topics":["contenteditable","focus"],"latest_commit_sha":null,"homepage":"https://tomashubelbauer.github.io/contenteditable-focus","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TomasHubelbauer.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-07-10T08:52:23.000Z","updated_at":"2022-04-16T12:45:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"ea8152b7-7d4d-4959-a5a6-371873d7d894","html_url":"https://github.com/TomasHubelbauer/contenteditable-focus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TomasHubelbauer/contenteditable-focus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomasHubelbauer%2Fcontenteditable-focus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomasHubelbauer%2Fcontenteditable-focus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomasHubelbauer%2Fcontenteditable-focus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomasHubelbauer%2Fcontenteditable-focus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TomasHubelbauer","download_url":"https://codeload.github.com/TomasHubelbauer/contenteditable-focus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomasHubelbauer%2Fcontenteditable-focus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28792646,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T21:49:50.245Z","status":"ssl_error","status_checked_at":"2026-01-26T21:48:29.455Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["contenteditable","focus"],"created_at":"2024-12-31T22:13:54.521Z","updated_at":"2026-01-27T00:12:36.050Z","avatar_url":"https://github.com/TomasHubelbauer.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `contenteditable` Focus\r\n\r\nI'm having some problems with `contenteditable` divs and moving focus among them\r\nwhere the divs are also wrapped in HTML custom elements (which might play a role\r\nor not) and upon moving the focus the caret is lost and the div is not focused\r\nbut the element itself seems to be.\r\n\r\nThis is supposed to repro this behavior so I can isolate it and fix it, but so\r\nfar I've not been able to reproduce.\r\n\r\nThe workaround I found is to click away from the first content editable div to\r\nan area which is not editable and then focus the next div, with this flow, the\r\nfocus works as expected.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomashubelbauer%2Fcontenteditable-focus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomashubelbauer%2Fcontenteditable-focus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomashubelbauer%2Fcontenteditable-focus/lists"}