Closed (fixed)
Project:
Language Switcher Dropdown
Version:
7.x-1.0
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jan 2012 at 01:55 UTC
Updated:
26 Feb 2012 at 17:00 UTC
I put this at the bottom of the page but it opens downwards so only a couple of options are visible and the user has to scroll. I'm using the javascript option so I can show the flags.
Anyway I can make it open upwards?
Comments
Comment #1
manfer commentedThe problem is present on the msDropDown javascript library used in language dropdown switcher. Specifically on the function that calculates if it must be opened down or up.
If we analyze the check it does:
we can see that only would work when the select is on the normal flow of the page in which case the offset and the position are the same, but as soon as the select is inside a floated element and the page is scrolled down that check will fail. This is my proposed solution.