-
Notifications
You must be signed in to change notification settings - Fork 639
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
feat(browser): Use FadeSplashScreenDuration from config.xml on browser platform #151
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is exactly what I need - 1s is way too long for splash-screen, especially on the browser.
src/browser/SplashScreenProxy.js
Outdated
innerLocalSplash.style["-webkit-transition"] = | ||
innerLocalSplash.style["-moz-transition"] = | ||
innerLocalSplash.style["-ms-transition"] = | ||
innerLocalSplash.style["-o-transition"] = transitionCssString; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uh, does this work this way with foo = bar = baz = value;
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes - wonders of JS :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The other thing I'd like to discuss: Do we even need the prefixes besides for the IE? Looking at caniuse (https://caniuse.com/#feat=css-transitions) the only browser which does not support it unprefixed is the IE <10
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess prefixes could be left out .. just didn't want to mess too much with the code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, needs manual testing though.
# Conflicts: # src/browser/SplashScreenProxy.js
Updated this PR so it can be merged after being left for ~2.5yrs 🙈 |
Platforms affected
Browser
What does this PR do?
Use FadeSplashScreenDuration from config.xml on browser platform
What testing has been done on this change?
Manually added the plugin code to production app and published. No errors discovered.
Checklist