Skip to content

Missing updatePosition from usePopover return value. #4040

Open
@tgelu

Description

@tgelu

🐛 Bug Report

usePopover is meant to replace the low-lever useOverlayPosition but because of a missing return value it can't in some cases.

🤔 Expected Behavior

updatePosition should be returned from usePopover.

😯 Current Behavior

updatePosition from useOverlayPosition which is useful for many scenarios, is not returned by usePopover.

💁 Possible Solution

There's an old, open PR.

🔦 Context

Was looking at replacing our usage of low-level hooks which have been replaced by usePopover.

💻 Code Sample

N/A

🌍 Your Environment

N/A

🧢 Your Company/Team

N/A

🕷 Tracking Issue (optional)

N/A

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