Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Popup: Don't reposition if only size has changed #384

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

PolyMeilex
Copy link

Currently there is no way to resize the popup without causing repositioning. So changing only the size of a popup that's positioned relative to cursor position, will cause it to move to potentially new cursor position.

So this is an attempt to update only the size of the window if position related properties have not changed during the relayout.

@PolyMeilex PolyMeilex force-pushed the popup-dont-reposition-on-resize branch from 2fd494f to 90a3959 Compare September 8, 2024 00:57
PolyMeilex added a commit to PolyMeilex/nvim.init that referenced this pull request Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant