Skip to content

[Feature Request] VOverlay: Support connected locationStrategy without flipping origin alignment #22641

@mattgilbertnet

Description

@mattgilbertnet

Problem to solve

For VOverlays that use the "connected" locationStrategy, and have content that changes size, it is sometimes better to allow shifting the position, but not flipping the origin alignment to a different corner. That way, it stays consistent as the content size changes.

This reproduction shows how the origin can flip as content size changes. (In the neighborhood of a desktop browser window, say, 1700x900):
https://play.vuetifyjs.com/playgrounds/lU44gg

Proposed solution

Adding a noFlip prop that skips the block of code that decides whether to flip is a small change that logically should have no changes to behavior when the prop isn't used.

Fork: https://github.com/mattgilbertnet/vuetify/tree/feat/location-strategy-no-flip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions