While testing glossary app, it was found that the autosuggest positioning behavior introduced in PR #81 causes some unwanted jankiness in the autosuggest menu. When the input in in close proximity to the bottom of the viewport, as the user types the position of the autosuggest menu will alternate between appearing above and below the input box.
While testing glossary app, it was found that the autosuggest positioning behavior introduced in PR #81 causes some unwanted jankiness in the autosuggest menu. When the input in in close proximity to the bottom of the viewport, as the user types the position of the autosuggest menu will alternate between appearing above and below the input box.
This CR is to pull in the modified positioning code from glossary app PR #239 (https://github.com/NCIOCPL/glossary-app/pull/239) and apply it to drug dictionary.
What's the expected change?
Autosuggest menu should correctly position itself above the menu so that the list of items is not cut off by the bottom of the viewport.
What's the current functionality?
Related Tickets