{"id":19289638,"url":"https://github.com/yingding/hscrollslc","last_synced_at":"2026-06-09T20:31:37.419Z","repository":{"id":77877592,"uuid":"585212678","full_name":"yingding/hScrollSLC","owner":"yingding","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-04T16:30:55.000Z","size":85,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-23T23:43:15.683Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yingding.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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":"2023-01-04T15:49:00.000Z","updated_at":"2023-01-04T16:18:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"84382883-8d6d-4515-8f03-439bcfbe466d","html_url":"https://github.com/yingding/hScrollSLC","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yingding/hScrollSLC","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yingding%2FhScrollSLC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yingding%2FhScrollSLC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yingding%2FhScrollSLC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yingding%2FhScrollSLC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yingding","download_url":"https://codeload.github.com/yingding/hScrollSLC/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yingding%2FhScrollSLC/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34125332,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"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-09T22:16:33.351Z","updated_at":"2026-06-09T20:31:37.400Z","avatar_url":"https://github.com/yingding.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# horizontalScroll conflicts on SLC\n\nThis repo shows that the `horizontalScroll` modifier doesn't work on the parent composable of `androidx.wear.compose.material.ScalingLazyColumn`,\nOn the contrary, `horizontalScroll` works on \n\nDependencies:\n* wear compose 1.1.0\n* compose 1.3.2\n\nAndroid Studio \n```\nAndroid Studio Dolphin | 2021.3.1 Patch 1\nBuild #AI-213.7172.25.2113.9123335, built on September 30, 2022\nRuntime version: 11.0.13+0-b1751.21-8125866 aarch64\nVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.\nmacOS 12.6.2\nGC: G1 Young Generation, G1 Old Generation\nMemory: 4096M\nCores: 10\nRegistry:\n    external.system.auto.import.disabled=true\n    ide.text.editor.with.preview.show.floating.toolbar=false\n    ide.instant.shutdown=false\n\nNon-Bundled Plugins:\n    idea.plugin.protoeditor (213.6461.28)\n```\n\nEmulator Version: 31.3.14\nAVD: Wear OS 3 - Preview ARM 64 v8a System Image API 30, Rev 11\n\n## How to recreate the issue\n\nPlease switch the `hasChildSLC` variable between `true` and `false`\nin the `onCreate()` of the `MainActivity.kt` \n```\n        setContent {\n            WearAppTheme {\n                // set the hasChildSLC to true to trigger IllegalArgumentException\n                val hasChildSLC = true\n                horizontalScollSLC(hasChildSLC = hasChildSLC)\n            }\n        }\n```\n\nto reproduce the `IllegalArgumentException`:\n```console\njava.lang.IllegalArgumentException: Failed requirement.\nat androidx.wear.compose.material.ScalingLazyColumnKt$verticalNegativePadding$1.invoke-3p2s80s(ScalingLazyColumn.kt:725)\n...\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyingding%2Fhscrollslc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyingding%2Fhscrollslc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyingding%2Fhscrollslc/lists"}