Skip to main content

All Questions

Tagged with
0 votes
2 answers
217 views

Can't listen to 'ESC' in fullscreen

I'm making a video player in an Electron/React app. I want to exit fullscreen when the user presses ESC, but it seems that the ESC key is not triggering any event. // Player.js const Player = (props) =...
fr0zie's user avatar
  • 73
0 votes
1 answer
1k views

Implementing React in Electron application

I've been struggling implementing very simple react code in my electron desktop application. If I execute the app, there is no error message, but only empty page. I tried changing script type as "...
juyeon hong's user avatar
1 vote
0 answers
349 views

Font does not load correclty in electron app

I am using this font: 'https://fonts.googleapis.com/css?family=JetBrains Mono' for my electron app using react and when i load it up the electron app does not show the correct font, when i run it ...
Freeeeky's user avatar
0 votes
0 answers
32 views

Electron React upload image from USB Path only

html input file attribute open file choosing in computer and can see all folder, can it customized to only open specific path like USB(cannot open other folder).
enddyrama's user avatar
1 vote
0 answers
43 views

Symbolic linked images not loading in Electron app in Windows

If I open the symbolic link with PAINT, I can see the expected image. So it means that the symbolic link is working. The only issue is when I load the image using Electron app in Windows. ....
Shanavas P S's user avatar
0 votes
2 answers
53 views

React js Electron - loading indefinitely

my localhost window is loading indefinitely, if i dont put the return right next to the function App() { but since i want to put stuff inbetween, it completly shuts down. Why is this the case? Please ...
Shirua's user avatar
  • 3
5 votes
2 answers
8k views

How can I change the background color of a radio button's "circle" by CSS?

I'm developing an electron app using the react, and I must implement the radio button following the below prototype image. As you can see, I'd like to change the background color (the color code is ...
jjjkkkjjj's user avatar
0 votes
0 answers
95 views

How to export pdf on clicking Button in electron.js?

Did anyone worked on electron.js pdf export? I need to export the file to pdf while clicking on button and i used ".webContents.printToPDF" but "'did-finish-load'" is not working ...
vanishree's user avatar
1 vote
3 answers
2k views

React.js, how to properly use the map() function to display data?

I'm tying to display user data in one of my pages in an electron app. I get the data from firebase/firestore and then put it in an array, then, I want to display that data in a table but I can't ...
Polymood's user avatar
  • 455
3 votes
2 answers
1k views

React: How to load an image by path that contains special characters?

I have tried to load an image by path that contains special characters like &@^. When I loaded the image as below, it didn't work. <img src="file:///test/@#$%/0.png"/> So, I've ...
Heejae Kim's user avatar
0 votes
1 answer
290 views

front slash changes to back slash after #

Hello I am doing this electron project and I came across this issue where when I give this path `file://${path.join(__dirname, `../build/index.html#/view/${arg}`)}` I was hoping for this, file:///C:/...
Dinesh Udayan's user avatar
2 votes
1 answer
989 views

Is there any way to change the title and save type of file dialog on electron?

I've created a button for downloading and saving a file returned from an api endpoint. In common browser, after clicking the button, a save file dialog appears with title Save As and Save as type ...
tuan.tran's user avatar
  • 1,841
0 votes
3 answers
1k views

HTML Component not rendering in electron react app

The TitleBar from Component.js is not rendering as html in my electron app, I get no errors and have confirmed the file paths. Component.js, import React, { Component } from "react"; export ...
Kyle Batchelor's user avatar
0 votes
0 answers
128 views

How to get rid of blinking artifact/bug inside text input and React select input in Electron?

I am currently experiencing a very weird visual artifact in all my text inputs that looks like this: It can be seen in this GIF while I type I have tried different solutions such as: Applying ...
goss's user avatar
  • 31
0 votes
0 answers
152 views

Cannot get 100% width <table> aligned with parent <div>

I'm having some trouble getting a table with width: 100% flush with it's parent div. For some reason a less than 1px gap is seen on either side of the table. I've tried setting all margins and padding ...
William Bampton's user avatar

15 30 50 per page