-
Notifications
You must be signed in to change notification settings - Fork 9
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
Spotlight w/ file picker upload #12
Comments
The file picker is not working correctly because the spotlight panel level is above that of the file picker level. The solution is to reduce the spotlight panel level.
If you change that line to this: panel.set_level(NSMainMenuWindowLevel); or go lower to normal window level: const NSNormalWindowLevel: i32 = 2;
panel.set_level(NSNormalWindowLevel); it will work. |
To add support for file picker upload, here are the steps to carry out:
|
The full implementation can be found in the file-upload branch. See commit 536b35e (with explanations) which implements all the steps I mentioned above. |
The file-upload example branch won't be merged to the |
Let me know if this solves your issue. |
yeah |
I have identified a bug:
When using
<input type="file">
to select a file, I am unable to choose a file from the popped-up Finder.Could this issue be addressed? Thank you! ❤️
My macOS version is 12.3.1.
The text was updated successfully, but these errors were encountered: