Skip to content

Update autosuggest functionality to match glossary app #106

Description

@arcepaul

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 (NCIOCPL/glossary-app#239) and apply it to drug dictionary.

ESTIMATE TBD

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?

  • When close to the bottom of the page, the autosuggest listbox will jump up and down as the user inputs search text

Related Tickets

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions