Skip to content

Positionable Elements Can Extend Off Screen #415

@mcortez1497

Description

@mcortez1497

Describe the Bug

Popovers/Menus (I think any hoverable Helix elements) that extend off of the screen do not extend the screen or reposition to be within view.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Have a page where a hoverable element would be opened off the bottom of the screen
  2. Toggle the element as open
  3. Portions of the element will be unviewable, no scroll or other over available

Expected behavior

Previous positioning behavior would ensure that the element be visible on the screen, i.e. if a popover positioned downwards extended off the bottom of the page, the toolkit repositioned it to open upwards. With the new positioning logic, I'm not sure what our expectation should be.

Screenshots

c33548e35a5ecad1ce3055605061d144

Environment

Please complete the following information:

  • Device: Laptop
  • OS: MacOS High Sierra 10.13.5
  • Browser: Chrome
  • Version: Version 70.0.3538.77 (Official Build) (64-bit)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions