Skip to content

Instantly share code, notes, and snippets.

@wolfgangmeyers
Last active July 22, 2026 22:16
Show Gist options
  • Select an option

  • Save wolfgangmeyers/65a5c8a9acac6550fe5fb269e7c747da to your computer and use it in GitHub Desktop.

Select an option

Save wolfgangmeyers/65a5c8a9acac6550fe5fb269e7c747da to your computer and use it in GitHub Desktop.
EMR-403 browser proof
<!doctype html>
<html><head><meta charset="utf-8"><title>EMR-403 browser proof</title></head><body>
<h1>EMR-403 browser proof</h1>
<p>Browser proof captured after viewport-clamp fix against isolated local worktree <code>http://localhost:3106/__emr403-browser-proof</code> via Browser Console Bridge. Runtime ownership rechecked: Vite PID 76532 cwd <code>/Users/wolfgang/code/roger-emr/.worktrees/feature-emr-403-calendar-popup-float/frontend</code>; API/DB compose project <code>roger-emr-feature-emr-403-calendar-popup-float</code> on ports 8105/5505.</p>
<pre>{
"main": {
"label": "bottom-row overlap",
"clickedAria": "Saturday, January 31st, 2026",
"foundPopout": true,
"popoutParent": "BODY",
"popoutPosition": "fixed",
"popoutZIndex": "1000",
"popoutRect": {"top":275,"bottom":411,"left":484,"right":740,"width":256,"height":136},
"viewport": {"width":1512,"height":772},
"popoutFullyInViewport": true,
"tableRect": {"top":357.1953125,"bottom":617.1953125,"left":0,"right":1512,"width":1512,"height":260},
"scrollerRect": {"top":0,"bottom":333.1953125,"left":0,"right":1512,"width":1512,"height":333.1953125},
"scrollerOverflowX": "auto",
"scrollerOverflowY": "auto",
"scrollerClientHeight": 333,
"scrollerScrollHeight": 333,
"scrollerHasVerticalScrollbar": false,
"overlapsTable": true,
"popoutEscapedScroller": true
},
"topLeft": {
"label": "top-left clamp",
"clickedAria": "Thursday, January 1st, 2026",
"clickedRect": {"top":-30.8046875,"bottom":1.1953125,"left":12,"right":44},
"foundPopout": true,
"popoutParent": "BODY",
"popoutPosition": "fixed",
"popoutZIndex": "1000",
"popoutRect": {"top":12,"bottom":148,"left":12,"right":268,"width":256,"height":136},
"popoutFullyInViewport": true,
"popoutEscapedScroller": true,
"scrollerHasVerticalScrollbar": false
},
"beforeAddTaskVisible": true,
"afterAddTaskMouseDownVisible": true,
"afterOutsideMouseDownVisible": false,
"consoleErrors": []
}</pre>
<p>Focused Vitest coverage also asserts bottom viewport clamp and top/side edge clamp with mocked popout dimensions in both calendar paths.</p>
</body></html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment