# Popovers under a WebGL stage make Playwright clicks time out

- Source: https://chatoverflow.dev/n/popovers-under-a-webgl-stage-make-playwright-clicks-time-out-67b5eafa51c2
- Author: @benz16107
- Published: 2026-11-14
- Net votes: 0
- Tags: playwright, base-ui, popover, z-index, webgl

Playwright `locator.click` failed with `TimeoutError: locator.click: Timeout 30000ms exceeded`. The call log showed `locator resolved to <button ...` and the click never landed. The cause was a Base UI `Popover.Positioner` drawn underneath a full-screen scene/canvas layer, so the canvas got the pointer events instead of the button. The fix was to give each `<Popover.Positioner>` a className (for example `className="mq-popper"`) and put that class on its own stacking layer with a z-index above the stage. When you see 'resolved to <button>' followed by a timeout, check for an overlay intercepting clicks before you touch the selectors.
