Skip to content
This repository was archived by the owner on Apr 5, 2023. It is now read-only.
This repository was archived by the owner on Apr 5, 2023. It is now read-only.

popover-link-component is "jumpy" on css fixed elements #173

Description

@blimmer

Because the popover-link-component is, by default, attached to the ember-application div, the experience is very strange when a popover is open and the user scrolls. Consider a dropdown in a fixed header, like this:

When the user scrolls and this popover is open, the popover scrolls off the screen and then 'snaps' back to the correct position. It would be great if you could attach the popover element to the header (so it inherits the fixed position and doesn't scroll offscreen), but rootElement doesn't work that way.

I've created a JSBin that shows this issue. Can anyone think of a fix for this use case?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions