Recently, while using the AngularUI typeahead directive, I encountered an issue where the dropdown appeared cut vertically with a scrollbar on the right. Despite this visual glitch, all the data was displaying correctly within the typeahead box. The image below illustrates the problem. However, upon scrolling down, I could see all the values in the dropbox as expected.
https://i.sstatic.net/vBGf3.jpg
In my attempt to fix this issue, I noticed that the .dropdown-menu style from AngularUI was set as position: absolute;
. Changing it to position: static;
made the dropdown display at its full height. Nevertheless, this adjustment caused another problem - if there was a button below the input field, it would be shown next to the dropdown rather than being overlaid by it. Another picture demonstration can be found here.
https://i.sstatic.net/xzkZF.jpg
I have inspected some styles at the "master page" level, yet I am unsure about the exact source of this behavior. It appears that my CSS and web design skills are not sufficient to resolve this issue entirely.