Comments (9)
Hmm. I don't see any obvious problem from the code. Can you reproduce the problem in a plnkr? http://plnkr.co/
from angular-busy.
Thanks. It looks like you're using Angular 1.0. Thats pretty old now. Angular-busy doesn't work with v1.0. It requires Angular 1.2.
from angular-busy.
Sorry, I deleted by mistake my comment: http://plnkr.co/edit/1RdeFappmf4mLsT52dif?p=preview
In Version 2 I changed the angular version, and it is working.
However in my app it isn't working... I don't know why...
from angular-busy.
Its hard for me to guess why its not working in your app. I would try to remove parts of your code until it starts working. For example, replace the UserApp call with a $timeout. Does it then start working? Rinse and repeat until it works and focus on the thing that you removed.
Its still possible its a bug in angular-busy but I don't have any clues.
from angular-busy.
Hi, look again: http://plnkr.co/edit/1RdeFappmf4mLsT52dif
I added several things. In fact, my project is on github, so there's no problem in showing it.
When you click the facebook button, the page blinks, but no loading message is shown.
If you change the UserApp.OAuth call to use $timeout, the same behavior occurs; it doesn't work.
from angular-busy.
That plnkr doesn't work for me. I don't get any buttons.
from angular-busy.
Sorry, I fixed it out... try again
from angular-busy.
It looks like the div you've put the cg-busy on is empty and therefore doesn't show up. Angular-busy is designed to be used on a div with content and the overlay will appear over the content. Your div is empty and the browser has therefore rendered it as 0 height and 0 width. Try putting cg-busy on a div that has content or is otherwise ensured to have a height and width.
from angular-busy.
Strange, because my other view works just fine with this empty div, just
like the readme shows how to use
On Sunday, May 11, 2014, Chris Gross [email protected] wrote:
It looks like the div you've put the cg-busy on is empty and therefore
doesn't show up. Angular-busy is designed to be used on a div with content
and the overlay will appear over the content. Your div is empty and the
browser has therefore rendered it as 0 height and 0 width. Try putting
cg-busy on a div that has content or is otherwise ensured to have a height
and width.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/25#issuecomment-42789065
.
Atenciosamente,
Joberto Diniz
jobertodiniz.com
from angular-busy.
Related Issues (20)
- Modal
- It would be great to have less dev files bundled within npm package.
- Allow advanced version to accept a promise, or something that has a .promise or .$promise HOT 2
- Angular-busy2 HOT 3
- Internationalization aka i18n HOT 2
- Please upgrade for angular 1.6.0 or higher HOT 8
- Unknown provider: cgBusyDefaults HOT 4
- 4.1.4 not published to npm HOT 1
- How to stop loading cg busy when got an error from http request
- Does the component work with a native Promise? HOT 1
- cg-busy with an Http Interceptor
- CgBusy + Angular 1.x + ES6 HOT 5
- Gain access to $cgBusyIsActive()
- Nice. What is the latest angular ?
- Please upgrade for angular 1.4.9 and higher HOT 4
- Spinning counter clockwise. HOT 1
- Is the project alive? HOT 7
- Cannot print messages with custom interpolators
- Does not exit on $q.reject HOT 1
- What if I'm not using promises? HOT 3
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 angular-busy.