Created attachment 57131 [details] "Add biblio" hidden behind the language chooser To reproduce: - Make sure more than one language is active for the staff client, so that the language chooser bar shows at the bottom of each page - Do one or more Z39.50 searches, to make sure you have some records in the reservoir - Go to "Cataloging" and do a "Catalog search", so that the reservoir is searched. Make sure your search is broad enough that some results from the reservoir is shown "below the fold" - Scroll to the last result and click on the "Actions" menu - Observe that the last choice in the menu, "Add biblio", is hidden behind the language chooser, and cannot be shown, no matter how hard you try to scroll further down. See also attached image.
I should add that I have tested this with Koha 16.05.05 and Chromium "53.0.2785.143 Built on Ubuntu , running on Ubuntu 16.04 (64-bit)".
Created attachment 57156 [details] [review] Bug 17545: Raise z-index for dropdown menus Test plan: 0) Have any additional language instaled 1) Find any page which has some dropdown menu on bottom of content (for example cataloguing search - as it is described in bug report) -> without patch is dropdown menu partially hidden under language chooser bottom bar -> with patch is whole dropdown-menu visible (you may need to scroll down) 2) Try it in diferent browser
I can't get this to work. The Chromium developer tools show me that the new z-index has been applied, but the last entry in the menu ("Add biblio") is still hidden behind the language chooser. I think maybe applying the z-index to ".dropdown-menu li" is too deep into the hierarchy?
Created attachment 57195 [details] [review] Bug 17545 - Make "Add biblio" not hidden by language chooser This alternate patch changes the menu direction so that it "drops" up instead of down. This avoids the problem of overlapping or being hidden by the language chooser. The disadvantage of this patch is that it is not global. However, I think it's a better long-term solution to the problem. To test, apply the patch and follow the issue description: - Make sure more than one language is active for the staff client, so that the language chooser bar shows at the bottom of each page - Do one or more Z39.50 searches, to make sure you have some records in the reservoir - Go to "Cataloging" and do a "Catalog search", so that the reservoir is searched. Make sure your search is broad enough that some results from the reservoir is shown "below the fold" - Scroll to the last result and click on the "Actions" menu The direction of the menu should be up instead of down.
Created attachment 57196 [details] [review] Bug 17545 [Revised] Make "Add biblio" not hidden by language chooser This alternate patch changes the menu direction so that it "drops" up instead of down. This avoids the problem of overlapping or being hidden by the language chooser. The disadvantage of this patch is that it is not global. However, I think it's a better long-term solution to the problem. To test, apply the patch and follow the issue description: - Make sure more than one language is active for the staff client, so that the language chooser bar shows at the bottom of each page - Do one or more Z39.50 searches, to make sure you have some records in the reservoir - Go to "Cataloging" and do a "Catalog search", so that the reservoir is searched. Make sure your search is broad enough that some results from the reservoir is shown "below the fold" - Scroll to the last result and click on the "Actions" menu The direction of the menu should be up instead of down.
Created attachment 57197 [details] [review] Bug 17545 [Revised] Make "Add biblio" not hidden by language chooser This alternate patch changes the menu direction so that it "drops" up instead of down. This avoids the problem of overlapping or being hidden by the language chooser. The disadvantage of this patch is that it is not global. However, I think it's a better long-term solution to the problem. To test, apply the patch and follow the issue description: - Make sure more than one language is active for the staff client, so that the language chooser bar shows at the bottom of each page - Do one or more Z39.50 searches, to make sure you have some records in the reservoir - Go to "Cataloging" and do a "Catalog search", so that the reservoir is searched. Make sure your search is broad enough that some results from the reservoir is shown "below the fold" - Scroll to the last result and click on the "Actions" menu The direction of the menu should be up instead of down. Signed-off-by: Magnus Enger <magnus@libriotech.no> Popup menus on the cataloging search page now pop up instead of down, which means they avoid being hidden by the language chooser. Mission accimplished!
For me the pull downs still go down instead of up - not sure what's going on there?
Created attachment 57623 [details] [review] Bug 17545 [Revised] Make "Add biblio" not hidden by language chooser This alternate patch changes the menu direction so that it "drops" up instead of down. This avoids the problem of overlapping or being hidden by the language chooser. The disadvantage of this patch is that it is not global. However, I think it's a better long-term solution to the problem. To test, apply the patch and follow the issue description: - Make sure more than one language is active for the staff client, so that the language chooser bar shows at the bottom of each page - Do one or more Z39.50 searches, to make sure you have some records in the reservoir - Go to "Cataloging" and do a "Catalog search", so that the reservoir is searched. Make sure your search is broad enough that some results from the reservoir is shown "below the fold" - Scroll to the last result and click on the "Actions" menu The direction of the menu should be up instead of down. Signed-off-by: Magnus Enger <magnus@libriotech.no> Popup menus on the cataloging search page now pop up instead of down, which means they avoid being hidden by the language chooser. Mission accimplished! Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Pushed to master for 16.11, thanks Owen!
Pushed to 16.05.x, for 16.05.06 release