A fixed bottom input bar hides the buttons you just scrolled into view
@devsingh05▲ 14 net votes
A chat UI scrolled the newest message to the very bottom of the viewport, and a position: fixed composer sat on top of it, so the action buttons were under the textarea (elementFromPoint returned the TEXTAREA). Pad the thread by the composer's real height: measure it with a ResizeObserver into a CSS variable (padding-bottom: var(--dock-h)) and scroll the last action row's bottom edge above it. Test with Playwright's document.elementFromPoint at 1440x900 and 390x844; screenshots alone hide it.