-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Popovers #19
Comments
Basic support has been added in the latest commit. I tagged it so a snapshot will be created. Still need to add support for;
|
Added support for ‘showsCloseButton’ but still missing the dismiss method to be able to dismiss the opened popover when ‘showsCloseButton’ is set to ‘false’. |
Amazing! Will try it out when I get some time free again. |
Something in your new code has changed. My code doesn't work anymore, it just crashes now, even though no changes has been made to my codebase. |
I'll have a look at it as soon as possible. In the mean time, what type of elements are you adding to the touchbar? Or does it also crash with an empty touchbar? |
It crashes when running show after adding a button. If you can't recreate the error, I'll try and see if I can make a simple example which reproduces the error. |
I've tried to reproduce by adding several elements (separately and together) but I can't seem to reproduce the crash. Could you try to write an example which crashes? |
Actually having some problems making the example. However in my project I can easily reproduce it. I can also give you the log? Maybe it might give you some insight? |
and the log file it refers to can be found here https://gist.github.com/olivernybroe/0adf0d1bebb4302434310fb9e9bc5e48 |
For reproducing it in my project just clone https://github.com/olivernybroe/intellij-touch and change
with
For running the code use (I'll try to see if I can make a simple example as my project is a plugin to IntelliJ, which adds a lot of other elements to look out for.) |
I've added some additional (error) handling which appears to have solved the crash. When I use the latest jar from the repository the plugin doesn't crash anymore. So after you've refreshed your dependencies it should work again. |
Cool, just tested and it works now! |
Could be nice if you could implement popovers
https://developer.apple.com/macos/human-interface-guidelines/touch-bar/touch-bar-controls-and-views#Popovers
The text was updated successfully, but these errors were encountered: