Commit 5ae1f42
fix(ui-modal): adjust scrollbar detection tolerance in ModalBody
Increase epsilon tolerance from 0.05 to 1 pixel to avoid false positives
when detecting scrollbars due to browser rounding errors. This prevents
unnecessary tabIndex=0 from being applied when no scrollbar is present.
Fixes INSTUI-4863
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent f23269e commit 5ae1f42
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
0 commit comments