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

fix: bad menu position when no positioning item specified #28224

Merged
merged 1 commit into from Mar 18, 2021

Conversation

nornagon
Copy link
Member

Description of Change

Fixes #13279.

This looks like it was a typo. When positioning_item isn't specified, it's
-1, which evaluates to true, so this block wouldn't be invoked.

I've tested manually and it seems to fix the behavior described in the bug.

Checklist

Release Notes

Notes: Fixed context menus not being positioned correctly when near the edge of the screen.

@nornagon nornagon added semver/patch backwards-compatible bug fixes target/11-x-y labels Mar 16, 2021
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Mar 16, 2021
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Mar 17, 2021
@nornagon nornagon merged commit b52ccc9 into master Mar 18, 2021
@release-clerk
Copy link

release-clerk bot commented Mar 18, 2021

Release Notes Persisted

Fixed context menus not being positioned correctly when near the edge of the screen.

@trop
Copy link
Contributor

trop bot commented Mar 18, 2021

I have automatically backported this PR to "13-x-y", please check out #28276

@trop
Copy link
Contributor

trop bot commented Mar 18, 2021

I have automatically backported this PR to "12-x-y", please check out #28277

@trop trop bot removed the target/12-x-y label Mar 18, 2021
@trop
Copy link
Contributor

trop bot commented Mar 18, 2021

I have automatically backported this PR to "11-x-y", please check out #28278

@trop trop bot removed the in-flight/11-x-y label Mar 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Select box near top of screen opens upwards, leaving little space for the items (and a scrollbar)
4 participants