[Feature Request] VOverlay: Support connected locationStrategy without flipping origin alignment
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 41k
- Forks
- 7.1k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 11
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked reproduction and inspect VOverlay's connected locationStrategy behavior, especially the logic that flips origin alignment as content size changes. Use the proposed fork as context; done means a noFlip option allows shifting without flipping while preserving existing behavior when it is unused.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100