{"id":19783171,"url":"https://github.com/edmondscommerce/magento2-disable-unavailable-elements","last_synced_at":"2026-05-11T13:04:39.264Z","repository":{"id":66730448,"uuid":"153764588","full_name":"edmondscommerce/magento2-disable-unavailable-elements","owner":"edmondscommerce","description":"Disable elements while they're not ready to be interacted with","archived":false,"fork":false,"pushed_at":"2018-10-19T10:16:15.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T13:07:41.534Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/edmondscommerce.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}},"created_at":"2018-10-19T10:14:21.000Z","updated_at":"2018-10-19T10:16:16.000Z","dependencies_parsed_at":"2023-07-11T10:01:55.589Z","dependency_job_id":null,"html_url":"https://github.com/edmondscommerce/magento2-disable-unavailable-elements","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/edmondscommerce/magento2-disable-unavailable-elements","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edmondscommerce%2Fmagento2-disable-unavailable-elements","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edmondscommerce%2Fmagento2-disable-unavailable-elements/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edmondscommerce%2Fmagento2-disable-unavailable-elements/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edmondscommerce%2Fmagento2-disable-unavailable-elements/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edmondscommerce","download_url":"https://codeload.github.com/edmondscommerce/magento2-disable-unavailable-elements/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edmondscommerce%2Fmagento2-disable-unavailable-elements/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32895978,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"online","status_checked_at":"2026-05-11T02:00:05.975Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-12T06:07:29.357Z","updated_at":"2026-05-11T13:04:39.259Z","avatar_url":"https://github.com/edmondscommerce.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Magento 2 Disable Unavailable Elements\n## By [Edmonds Commerce](https://www.edmondscommerce.co.uk)\n\nPrevents a user from clicking on page elements before they're fully loaded\n\n### Default targets\n\nThe following elements are targeted by the module:\n\n- Hamburger menu\n- Header search icon\n- Shop by button\n- Category sorter\n- Product add to cart form\n- Cart discount block\n- Cart proceed button\n- Header language switcher\n\nThe overlay is applied as long as the `body` element does not have `aria-busy=\"false\"`.\n\nSee `view/frontend/web/css/source/_module.less` for more details.\n\n### Adding your own elements\n\nUse these mixins in your theme to add elements to the list of items to be disabled during page load. \n\nYou can either use them as Less mixins, or add and remove these classes using Javascript. \n\n- `.loading-disabled;` - This provides an indication that the item is loading\n- `.loading-click-block;` - This adds a transparent overlay to prevent clicks\n \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedmondscommerce%2Fmagento2-disable-unavailable-elements","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedmondscommerce%2Fmagento2-disable-unavailable-elements","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedmondscommerce%2Fmagento2-disable-unavailable-elements/lists"}