[BUGFIX] Correct autosuggest when no result has been found 17/44717/5
authorMarkus Sommer <markus.sommer@in2code.de>
Sat, 14 Nov 2015 13:46:28 +0000 (14:46 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Fri, 20 Nov 2015 13:15:15 +0000 (14:15 +0100)
Normally, jQuery adds position:absolute to the autosuggest box. The
patch fixes this behaviour. That way, the autosuggest is displayed
correctly.

Resolves: #71561
Releases: master
Change-Id: I292de30033d5431f97a1feb39ec404e362d5f1e7
Reviewed-on: https://review.typo3.org/44717
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Oliver Eglseder <oliver.eglseder@in2code.de>
Tested-by: Oliver Eglseder <oliver.eglseder@in2code.de>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Build/Resources/Public/Less/TYPO3/_topbar.less
typo3/sysext/t3skin/Resources/Public/Css/backend.css

index e5b22af..7913c1c 100644 (file)
        .live-search-wrapper {
                &+ .dropdown-menu {
                        width: 100%;
+                       .dropdown-list {
+                               position: relative!important; // Needs to be important to override inline styles of autocomplete
+                       }
                }
        }
        .dropdown-menu {
index 88aef2c..555943b 100644 (file)
@@ -13042,6 +13042,9 @@ iframe {
 .typo3-topbar-navigation-items .live-search-wrapper + .dropdown-menu {
   width: 100%;
 }
+.typo3-topbar-navigation-items .live-search-wrapper + .dropdown-menu .dropdown-list {
+  position: relative!important;
+}
 .typo3-topbar-navigation-items .dropdown-menu {
   left: auto;
   right: 0;