Current behavior
Expected behavior
The pop-up box is over-layed on top of the image.
• Niharika | |
Jan 29 2019, 6:58 PM |
F28139852: image.png | |
Feb 6 2019, 11:31 PM |
F28074340: image.png | |
Jan 29 2019, 6:58 PM |
The pop-up box is over-layed on top of the image.
I can only replicate this on Safari but not on Chrome and Firefox. I guess that makes this a lesser priority. I'd still like to have this fixed. Check the email I sent about browserstack to see how you can test this. If it seems like a lot of work, we can drop it.
The library Leaflet has map zoom icons set to z-index: 800. By default, the .uls-menu class has z-index 1000, and .oo-ui-dialog has z-index 4. Safari/IE renders the Leaflet zoom icon on top of .uls-menu and .oo-ui-dialog, which is due to how different browsers render the elements according to their position. We are overriding the z-index for .uls-menu and .oo-ui-dialog with higher values to force the elements to display on top of the zoom icon on all browsers. In IE/Safari, the .oo-ui-dialog will not render on top of the Leflet zoom icon with any value less than 1000, and the .uls-menu need a value greater than 1000. We increased the .uls-menu z-index to 1020 to make sure that it renders on top of every element.
I tested that the Translation/ULS dropdown and error popups appear over all other elements on the page (including the SVG image) on:
I have not seen any regressions when I have been testing other SVG Translate tickets on Firefox.