Extension has extra scroll bars with mouse plugged in?

Weird question—when I have a mouse plugged in my firefox extension get an extra set of scroll bars, which causes the ext to have an un-needed vertical scroll, is there anyway to prevent that from happening, or detect it so I leave enough space? Would much prefer to prevent the internal scroll bar since the persistent scrollbar with the mouse in sticks off to the side.

Here’s the ext with no mouse:

and here’s the ext with a mouse:

(I scrolled over to show the empty vertical scroll causing issues.)

Any ideas here?

There’s two ways to fix this:
if you don’t want the popup to scroll, set the html element to not overflow (optionally only in one direction to suppress that direction).

Alternatively if you want to scroll in one direction, but not the other one fix your styles to not make the content overflow in the other direction when a scroll bar is displayed.