{"id":28916111,"url":"https://github.com/abiyasa/marko-dom-node-bugs","last_synced_at":"2026-02-03T17:31:35.925Z","repository":{"id":145818998,"uuid":"135712266","full_name":"abiyasa/marko-dom-node-bugs","owner":"abiyasa","description":"A place to expose Marko bugs related to DOM node 🐞","archived":false,"fork":false,"pushed_at":"2018-09-03T13:56:33.000Z","size":108,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-21T23:08:31.602Z","etag":null,"topics":["marko"],"latest_commit_sha":null,"homepage":"","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/abiyasa.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":"2018-06-01T11:59:02.000Z","updated_at":"2018-09-03T13:56:34.000Z","dependencies_parsed_at":"2023-05-26T21:30:38.277Z","dependency_job_id":null,"html_url":"https://github.com/abiyasa/marko-dom-node-bugs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/abiyasa/marko-dom-node-bugs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abiyasa%2Fmarko-dom-node-bugs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abiyasa%2Fmarko-dom-node-bugs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abiyasa%2Fmarko-dom-node-bugs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abiyasa%2Fmarko-dom-node-bugs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abiyasa","download_url":"https://codeload.github.com/abiyasa/marko-dom-node-bugs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abiyasa%2Fmarko-dom-node-bugs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29050804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T15:43:47.601Z","status":"ssl_error","status_checked_at":"2026-02-03T15:43:46.709Z","response_time":96,"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":["marko"],"created_at":"2025-06-21T23:08:22.897Z","updated_at":"2026-02-03T17:31:35.918Z","avatar_url":"https://github.com/abiyasa.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Marko Bugs\n\nThis repo is a place to reproduce DOM node bugs on [Marko](https://markojs.com/) component.\n\n**NOTE**: All bugs here are already fixed on the latest Marko 4.13.0 🎊🎉 For the details, please see:\n\n- https://github.com/marko-js/marko/issues/1052 \n- https://github.com/marko-js/marko/issues/1051\n\n\n## Install\n\nWe use Node.js v8.11.1, Marko v4.9.7, and the latest Yarn.\n\n```bash\nyarn install\n```\n\n## Starting the server\n\n```bash\nyarn start\n```\n\nGo to `http://localhost:8080/`.\n\n## Bug Demos\n\n### Client-side error on expander button\n\nWe got client-side error on expandable/accordion content.\n\n```\nUncaught TypeError: Cannot read property 'parentNode' of null\nat init-components-browser.js:259\n...\n```\n\nTo re-produce the bug: Run the server and go to:\n\n- `http://localhost:8080/clickable-expander`.\n- or `http://localhost:8080/clickable-expander-no-textual-display`\n\nHowever, if we remove the client-side behaviour (no `component.js` and click event handlers), the error is gone: `http://localhost:8080/non-clickable-expander`\n\n### Client-side error on dialog component\n\nWe got client-side error on clsoign and showing dialog component:\n\n```\nComponent.js:542 Uncaught TypeError: Cannot read property 'nextSibling' of null\n  at Component.___forEachNode (Component.js:542)\n  at Component.___detach (Component.js:533)\n...\n```\n\nTo re-produce the bug: Run the server and go to:\n\n- `http://localhost:8080/bug-dialog-close`.\n\nHowever, if we simplified the dialog (simple text instead of nested component Textual Display),\nthe error is gone (`http://localhost:8080/bug-dialog-close-no-textual-display`)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabiyasa%2Fmarko-dom-node-bugs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabiyasa%2Fmarko-dom-node-bugs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabiyasa%2Fmarko-dom-node-bugs/lists"}