Skip to content

Commit 1efd77f

Browse files
Tiwasclaude
andcommitted
wip(circadian): repair view scroll workarounds for Android BottomSheet
- Mirror repair_configuration.html into a repair/ folder; some Homey firmware variants only resolve repair views from there. - Wrap content in a #scroll-root container with overscroll-behavior and manual JS touch scrolling to prevent the Android Homey app's swipe-to-dismiss gesture from firing on upward scroll. Workarounds are partial - upward scroll inside the device list still falls through to the BottomSheet on Android. The docs/tools/clg-editor exists as a stable alternative for editing config_json. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 6760f28 commit 1efd77f

2 files changed

Lines changed: 747 additions & 1 deletion

File tree

no.tiwas.booleantoolbox/drivers/circadian-light-group/pair/repair_configuration.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
<html>
33
<head>
44
<style>
5-
body { padding: 16px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #f5f5f5; color: #222; }
5+
html, body { height: 100%; overscroll-behavior-y: contain; }
6+
body { padding: 16px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #f5f5f5; color: #222; overflow-y: auto; -webkit-overflow-scrolling: touch; }
67
.homey-title { font-size: 22px; font-weight: 700; margin: 0 0 4px; }
78
.homey-subtitle { font-size: 14px; color: #666; margin: 0 0 16px; }
89
.section { background: #fff; border: 1px solid #e7e7e7; border-radius: 8px; padding: 12px; margin-bottom: 12px; }

0 commit comments

Comments
 (0)