xiayuanquan / macos_webview_kit

Show or Close the webView on your Flutter MacOS app
MIT License
3 stars 0 forks source link

success #1

Open xiayuanquan opened 1 year ago

xiayuanquan commented 1 year ago

https://github.com/xiayuanquan/macos_webview_kit/assets/17963973/d1935d55-0752-429b-979a-183e234fd734

BullsEye34 commented 1 year ago

Amazing work @xiayuanquan !!!!

This is so cool. I've A few questions :

I'm asking these as these are a few issues I had faced previously. Yet, amazing work! Kudos!!

xiayuanquan commented 1 year ago

Amazing work @xiayuanquan !!!!

This is so cool. I've A few questions :

  • do gestures work? (Tap, scroll, horizontal scroll, etc.)
  • does multiinstance work? (Say multiple WebViews in a same page, in a list view)
  • does typing work properly?

I'm asking these as these are a few issues I had faced previously. Yet, amazing work! Kudos!!

The principle is always implemented on NSViewController. Regarding the questions you raised, I think it should be possible. I didn't continue to study it. You can check the source code. At the same time, through the Chanel channel, the interaction between the two parties can be realized.

BullsEye34 commented 1 year ago

This is really cool.

I'll check once

xiayuanquan commented 1 year ago

This is really cool.

I'll check once

Entering text is perfectly fine, I verified. One problem is that it seems that the shortcut keys are eaten and do not take effect. I'll go back and study it later and solve it.