macos-preact icon indicating copy to clipboard operation
macos-preact copied to clipboard

Auto-resize windows when viewport height/width change

Open harshulvijay opened this issue 5 years ago • 1 comments

Currently, if the viewport width changes the opened app window stays the same.

Before: image

After viewport height is changed: image

Instead of showing the current behavior, it should resize the open app window(s) automatically.

harshulvijay avatar Apr 23 '21 15:04 harshulvijay

Possible solution: Apply event listener on window and watch for fullscreen change. Better make a custom hook for it

PuruVJ avatar Apr 23 '21 16:04 PuruVJ