ELECTRON || MODAL || REACT || Recommended Way

113 views
Skip to first unread message

Murali Manohar Varma

unread,
Nov 15, 2022, 7:52:48 AM11/15/22
to Blockly
Hi Blockly Team,
What would be your recommended way to add support to modal in a electron environment since they don't support prompt.
I am overriding the function. But since it is using a call back style, not function calling, what would you guys recommend me to use. I tried some ways, but they ask me to implement a component on the app level and i don't feel like warping the whole app inside that component. Can you suggest a better way which is less invasive.

Environment

Electron : "^20.1.0"
Blockly : "^9.0.1"
React : "^18.2.0"

Thanking you for having such a wonderful community.

Neil Fraser

unread,
Nov 15, 2022, 7:57:01 AM11/15/22
to blo...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "Blockly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blockly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/blockly/4a1a49b1-cdf8-4db0-9e4c-2073d9c89d84n%40googlegroups.com.


--
Neil Fraser, Switzerland
https://neil.fraser.name

Murali Manohar Varma

unread,
Nov 15, 2022, 3:47:34 PM11/15/22
to Blockly
Thank you, it solved my problem. Thank you very much.
Reply all
Reply to author
Forward
0 new messages