Skip to content

Commit 8a7e815

Browse files
committed
fix(autoHeightBridge): rewrite bridge to stateful, idempotent implementation with improved measurement and observers
- introduce GLOBAL_KEY state to prevent duplicate injections and expose refresh/destroy - more robust height measurement (getBoundingClientRect + scroll/offset/client sizes) - adaptive debouncing (active/idle), microtask scheduling and fallback timers for stability - track media (img/iframe/video) loads, observe mutations/resizes/fonts/viewport, and ensure cleanup - use safe event registration and postMessage compatibility with ReactNativeWebView
1 parent ee12273 commit 8a7e815

File tree

1 file changed

+533
-161
lines changed

1 file changed

+533
-161
lines changed

0 commit comments

Comments
 (0)