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

On Windows , can't resize app using bottom or right edge if I specify min height and width #21057

Closed
pashvin opened this issue Nov 8, 2019 · 3 comments

Comments

@pashvin
Copy link

pashvin commented Nov 8, 2019

Preflight Checklist

  • [ x ] I have read the Contributing Guidelines for this project.
  • [x ] I agree to follow the Code of Conduct that this project adheres to.
  • [x ] I have searched the issue tracker for an issue that matches the one I want to file, without success.

Issue Details

  • **Electron Version:
    7.1.1
  • Operating System:
    Windows
  • Last Known Working Electron version:
    6.x

Expected Behavior

App resize behaviour should not change due to min height and width

Actual Behavior

When min height and width provided you can't resize using bottom and right edge of app

To Reproduce

take sample form https://github.com/electron/electron-quick-start
change code of main.js.
In create browser window pass minHeight: 650, minWidth: 850,
start app and see there is no way to resize top bottom or right
Top and left edge work fine.

@pashvin
Copy link
Author

pashvin commented Nov 9, 2019

Looks like once it reach min , then bottom / right resize stop working which may be how it is coded but that is bad behavior. it should stop from reducing size but should not stop increasing it

@mlaurencin
Copy link
Contributor

I tested this in the currently supported versions (10.0.0, 9.2.1, 8.5.0) and was not able to reproduce it. Is this still an issue for you?

window-resize

Electron Fiddle Gist Used: https://gist.github.com/c4783c10bfa28d4a2b3c01a04f58d4ed

@pashvin
Copy link
Author

pashvin commented Aug 28, 2020

Yes it is working in latest version. I tried 10.x

@pashvin pashvin closed this as completed Aug 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
7.2.x
Unsorted Issues
Development

No branches or pull requests

3 participants