tryphotino / photino.NET

https://tryphotino.io
Apache License 2.0
833 stars 68 forks source link

Input select display not located correctly #161

Closed josago97 closed 1 week ago

josago97 commented 6 months ago

When you create an InputSelect element, hit display and move the window, the displayed menu does not move with the window. The expected behavior would be either the dropdown closes because you are moving the window and therefore losing focus, or the menu moves next to the window. The following example is made with Blazor. image

MikeYeager commented 6 months ago

@josago97 This appears to be an open issue with the WebView2 control, not with Photino. See this issue: https://github.com/MicrosoftEdge/WebView2Feedback/issues/780

When tested on MacOS, the popup closes if you move the window.

josago97 commented 5 months ago

I have put an issue in the WebView repository about this problem. They have answered me that you have to use the following API NotifyParentWindowPositionChanged. Does Photino use such API to notify window movement?

ottodobretsberger commented 5 months ago

Thank you for linking this issue from WebView. That is interesting to hear. I was not aware of this requirement, but we will take another look on whether this needs to be done in Photino and if so, incorporate that.

MikeYeager commented 4 months ago

@josago97 We just implemented this and it had not effect. We made a comment on your issue in the WebView repository to that effect and asked for some help.

josago97 commented 4 months ago

Okay, thank you very much for your work and reporting.

philippjbauer commented 1 week ago

Closing this issue as it is not an issue of Photino but of WebView in Windows. See issue on their repo above.