supermemo / SuperMemoAssistant

A companion app for SuperMemo 17-18 which extends its functionalities through plugins.
https://www.supermemo.wiki/sma/
MIT License
195 stars 20 forks source link

How to make the forge forms dialog popup? #218

Closed candywal closed 3 years ago

candywal commented 4 years ago

The dialog was not popping up when I used await Show.Dialog().For<PopUp>(popUp);. To fix this you need to change the Dialog to Window await i.e. Show.Window().For<PopUp>(popUp);.

alexis- commented 3 years ago

This is specific to Forge.Forms. Dialog requires you to have a host in your WPF window: https://wpf-forge.github.io/Forge.Forms/guides/getting-started.html