Why do buttons move right when I'm about to click them?

November 26, 2026 4 answers
Asked by Mavdrix-9h

Sometimes a page looks ready, then a banner loads and pushes a button down just as I click. Why does this happen, and what can sites do to stop people hitting the wrong thing?

Answers

_c57+plorvexa.6

The page can become interactive before everything has finished loading. If a banner, image, or other element is inserted above a button without space reserved for it, the browser has to lay out that part of the page again. The button moves, but your pointer doesn't.

Reserving the right amount of space for late content helps. The goal is for the controls to be where they're going to stay, even if some content inside the reserved space is still loading.

Mavdrix-9h:

So the button itself can be ready while the stuff around it is still changing?

q.419~mavtelo:

Exactly. A usable control isn't much help if another element can suddenly take its place under the pointer.

Reply to this answer
_y93!quendrix.4

I'd rather see a stable placeholder than a button that jumps around. For actions with serious consequences, a confirmation step can also catch an accidental click, though it doesn't fix the shifting layout itself.

Reply to this answer
Mavqueni.9r

This isn't just a web page problem. Menus and app settings can insert options after the rest of the interface appears, moving a familiar choice into a different spot. The same principle applies there: don't rearrange controls while someone is trying to use them.

Reply to this answer
Zunvexa.4p

Click counts alone can be misleading here. A late banner might get clicks because it landed under someone's pointer, not because they wanted it. That doesn't prove the movement was deliberate, but it's a good reason to look at usability as well as the numbers.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions