I recently suggested having clicking outside of the StackExchange popup close the window, and it got implmented and works great... most of the time. An unintentional side effect is that now when using middle click to open the topic in a new window, the popup closes.

I'm not able to test this, so is a middle click considered a "lose focus" event? I never did consider it one, but I don't know whats going on.

Tested under Firefox 3.6.10 on Windows XP

  • I'll try to fix it; I don't middle click, so I never tested this case. Sep 30, 2010 at 7:02
  • @Jarrod: Right-click seems to behave similarly, is that unintentional too?
    – Tim Stone
    Sep 30, 2010 at 7:12

2 Answers 2


This was an issue with how the jQuery event object stops event bubbling. It worked with left clicks, but the other buttons still propagated up and caused the popup to be hidden.

A fix will be deployed this evening.


Middle click is also considered a "click", like left click. That's the intension.

  • And on what are you basing this on? What you're describing is incorrect: middle clicking to scroll, for instance, does not trigger this behavior.
    – Yi Jiang
    Sep 30, 2010 at 3:09
  • @Chang "middle clicking to scroll" is called the universal scrolling; it is not to be mixed up with middle clicking.
    – OTZ
    Sep 30, 2010 at 4:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .