Comments (5)
@rosibaj is there a way to add this loader in the system in general, not just for login?
from dac-ui.
platform: SVGs render as base64, and they don't flash
daco: SVGs render as SVGs, causing a flash
it's not immediately apparent to me why that is, but that's my theory for why the layout continues to flash after being moved up as high in the app hierarchy as it can go.
from dac-ui.
Thinking about this, I remember in another project the issue was with bundling the SVGs as part of the app's code (i.e. importing them into the component), rather than linking to the image, and letting the browser cache them.
While the problem may have been the other way around (linking instead of bundling), my point is playing with these ideas (plus some placeholding CSS) may prove a good enough solution.
from dac-ui.
@caravinci we were linking in this case but the browser isn't caching. it was making network requests on every render
from dac-ui.
lgtm thank you @samrichca
from dac-ui.
Related Issues (20)
- [UI] Add GDPR cookies banner HOT 3
- Footer - styling fix and dynamic year HOT 2
- [content] Updates from the DACO team HOT 3
- [UI] Add a minimum word count to each scientific abstract section in section D HOT 2
- Remove General terms checkbox from first section HOT 1
- FE validation doesn't work consistently when blur/tabbing through fields 🐛 HOT 1
- Revisions Requested: Collaborator actions should be disabled
- "Add Another" publication url button should not be enabled on pristine Project Info section HOT 1
- Lay summary instructions incorrectly aligned on PDF
- Coming Soon page for when v1 is taken down HOT 2
- Maintenance page HOT 1
- Refresh Token feedback after testing dev HOT 7
- Refresh Token: implement the session timed out modal
- Fix missing spaces in PDF terms HOT 2
- Check auth when opening modals
- PDF url fix: make publication urls clickable HOT 2
- Give DACO admin ability to add and delete a collaborator HOT 1
- Allow special characters in forms HOT 2
- Paused status text shows incorrect date on Dashboard card
- Hide Admin Action buttons in pre-REVIEW state
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dac-ui.