-
Notifications
You must be signed in to change notification settings - Fork 15k
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
blinkFeatures: CSSGridLayout not working #4565
Comments
Does it work in Chrome browser? |
It works in Chrome browser after enabling "Enable experimental Web Platform features." in chrome://flags |
new BrowserWindow({
webPreferences: {
experimentalFeatures: true,
}
}); |
@zcbenz Yes, chrome support already exists! |
@zcbenz This still doesn't work for me. There appears to be full support in chrome: I tried turning on new BrowserWindow({
width: 1250,
height: 750,
center: false,
webPreferences: { experimentalFeatures: true }
}); This is a much desired feature for our suite of electron applications. Is it a limitation of where chromium is at in the electron environment? |
@jnthnjns Which version of Electron are you on? CSS Grid should be on by default as of Electron 1.6 (which is based on Chromium 57), no need to enabled experimental features. |
@enlight Doesn't work for me neither without the |
@Septh Yeah, sorry I got the Chromium/Electron versions mixed up, Electron 1.7.X is the one that's based on Chromium 57. The example in the OP works for me in 1.7.4. Edit: Grrr, no, Electron 1.7.X is based on Chromium 58... I forgot Chromium 57 got skipped. |
@enlight I was running electron@latest (at the time of writing this 1.6.11). I did pull down 1.7.5 and grid is now working for me. Any timeline on taking 1.7.x out of beta? I may have to do some convincing to use an "unstable" version, doing what I do. I work for a local government and we use Electron for some of our client applications for our 911 Dispatchers. Thanks for your help. |
It does not work for me with electron v. 1.7.5 :( |
yep no joy in 1.7.5 |
It works.... Thanks. |
Can't get this to work in 1.7.9 with or without the flag. Properties don't error but they don't work either. |
new BrowserWindow({width: 1200, height: 800, experimentalFeatures: true, blinkFeatures: 'CSSGridLayout'});
Grid is not working as expected, HTML:
CSS:
This should be displayed as following:
Unfortunately, the div's just fall under each other.
The text was updated successfully, but these errors were encountered: