Closed tinc0709 closed 7 years ago
It's not possible right now, but can be done easily by writing native module. What's your task?
How is this problem solved? Figure.
@ptmt
@jaywcjlove , not yet. See https://github.com/ptmt/react-native-macos/issues/83
After finishing merging with latest React Native changes: https://github.com/ptmt/react-native-macos/pull/163 I'll probably take a look on resizing problem once again.
First results of new PR look promising. @jaywcjlove, do you have this repository open to do some experiments with it?
@ptmt I experimented with some methods, Not solved . Have no ability to solve the problem. So I use electron to develop. Waiting for you to solve. I try again.
Electron is absolutely the best way to do it right now. Thanks for the repo, I'll use it as a test case.
Do you have https://github.com/jaywcjlove/amac previous RN version?
@ptmt https://github.com/jaywcjlove/react-native-macos-amac
Electron is packed too big.
@ptmt The new version does not have this problem. thx!
How to resize window in react native macos