Comments (1)
Hi,
thank you for information. We'll keep in mind this issue.
Best Regards,
On 18 August 2016 at 01:08, Corey Cacic [email protected] wrote:
Please note this is for version 3.4.0.
Hi,
I would like to share a problem and solution I came across this morning
whilst integrating mdbootstrap with my application. My stack is routed with
the angular ui-router component and I was noticing that none of my buttons
were getting the waves-effect ripple animation.After some debugging I found this to be due to when the Waves are
initialized with the displayEffect() function.document.addEventListener('DOMContentLoaded', function () {
Waves.displayEffect();
}, false);With the angular ui-router component, the DOMContentLoaded method is
fired prematurely to an application being fully loaded and instead I found
hooking into the ui-router API event $viewContentLoaded to manually call
the event, initialized the ripples properly.$rootScope.$on('$viewContentLoaded', function() {
Waves.displayEffect();
});My next foreseeable problem will be with modals when they are initialized,
or any other DOM manipulation that doesn't come from the ui-router skipping
the $viewContentLoaded event.
Will keep post updated.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
mdbootstrap/bootstrap-material-design#4, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ATmdT2kl55gnb-QVQfZ8qTWFu5qwETNCks5qg5RngaJpZM4Jm-n0
.
from material-design-for-bootstrap.
Related Issues (20)
- Google Map Feature in Landing Page Boostrap Tutorial HOT 1
- Chart.js style is injected into site header regardless of deleting the chart.js library HOT 4
- npm install mdbootstrap issues HOT 1
- Remove !important from source
- Input[type='date'] transformed to type='text' on blur HOT 1
- Duplicate class "waves-effect" in pagination links HOT 1
- Suggestion: Extend the pagination link colors HOT 1
- Site mdbootstrap.com is hacked HOT 7
- document website cann't get the css in china, it's very very inconvenit for the use.
- Intellij Idea + Spring Boot + mdbootstrap wave-effect not working
- Add CDN starter code for mdBootstrap
- Error in documentation, duplicated color 'deep-orange darken-n'
- navbar in mobile view is too small HOT 1
- carousel lag problem with different size pictures
- Bug combining behaviours in drawers
- MDBSmoothScroll isn't exported from mdbreact
- I bought the $99 package and cant access the premium multiselect
- The responsive-font-size mixin documentation
- Carousel image
- Data-mdb-* don't work!! HOT 1
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 material-design-for-bootstrap.