Skip to content
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

chore: electron 31 #622

Merged
merged 2 commits into from
Jul 31, 2024
Merged

chore: electron 31 #622

merged 2 commits into from
Jul 31, 2024

Conversation

jgresham
Copy link
Member

@jgresham jgresham commented Jul 10, 2024

Sidebar has issues and it flashes repeatedly and devtools don't work, however, disabling background-color: 'transparent' along with the blur fixes this.

Transparent background implementation seems to have changed in Electron 31 (or the Chrome version in Electron 31+). css background-color: 'transparent' leaves the sidebar white instead of showing the nice mac style transparency. I didn't find anything in the release docs that says the implementation changed, but on Electron's docs they note the limitations of transparent: true when creating a BrowserWindow here https://www.electronjs.org/docs/latest/tutorial/window-customization#create-transparent-windows

Screenshot 2024-07-30 at 5 11 46 PM

after disabling mac specific transparency:
Screenshot 2024-07-30 at 6 15 05 PM
Screenshot 2024-07-30 at 6 15 01 PM

Copy link

netlify bot commented Jul 10, 2024

Deploy Preview for nndesign ready!

Name Link
🔨 Latest commit 2ca048f
🔍 Latest deploy log https://app.netlify.com/sites/nndesign/deploys/668eacf9670d120008347e52
😎 Deploy Preview https://deploy-preview-622--nndesign.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jul 10, 2024

Deploy Preview for nndesign ready!

Name Link
🔨 Latest commit c80aa15
🔍 Latest deploy log https://app.netlify.com/sites/nndesign/deploys/66a9874b894a400008302c7a
😎 Deploy Preview https://deploy-preview-622--nndesign.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@jgresham
Copy link
Member Author

@corn-potage I don't think we should spend too much time on making this work at the moment. Just wanted to make you aware and see if there was something that I was missing.

@jgresham jgresham merged commit 55e8070 into main Jul 31, 2024
34 checks passed
@jgresham jgresham deleted the chore/electron-31 branch July 31, 2024 01:22
@corn-potage
Copy link
Member

sure, sounds good! it's strange that the update affected transparency 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants