[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.4-443-ga64ca60

Thomas Sibley trs at bestpractical.com
Tue Nov 9 16:13:45 EST 2010


The branch, 3.9-trunk has been updated
       via  a64ca60fe2efdc8951d7a1abaf95feb5a9282fe4 (commit)
      from  abab89a3374141e9db677d1eedb792e3a9e11e25 (commit)

Summary of changes:
 share/html/NoAuth/css/base/login.css |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit a64ca60fe2efdc8951d7a1abaf95feb5a9282fe4
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Tue Nov 9 16:11:49 2010 -0500

    Workaround a very weird behaviour in Chrome when opening selects
    
    A select input opened in Chrome triggered a hover event at (0,0), which
    in turn caused the menu to open.

diff --git a/share/html/NoAuth/css/base/login.css b/share/html/NoAuth/css/base/login.css
index 005944d..2aee3f2 100644
--- a/share/html/NoAuth/css/base/login.css
+++ b/share/html/NoAuth/css/base/login.css
@@ -83,9 +83,11 @@ margin-right:auto;margin-left:auto;
 
 #quick-personal {
     position: absolute;
-    top: 0;
-    left: 0;
     z-index: 9999;
+    left: 0;
+    /* This avoids a very weird bug in Chrome where opening a select causes a
+     * hover event at (0,0), which will be over top of the menu sometimes */
+    top: 1px;
 }
 
 #quick-personal #not-logged-in {

-----------------------------------------------------------------------


More information about the Rt-commit mailing list