Skip to content
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

Position:relative #42

Open
katmai7 opened this issue Sep 18, 2014 · 7 comments
Open

Position:relative #42

katmai7 opened this issue Sep 18, 2014 · 7 comments

Comments

@katmai7
Copy link

katmai7 commented Sep 18, 2014

After when promise resolved , position:relative doesn't remove from element.

@cgross
Copy link
Owner

cgross commented Sep 18, 2014

Is that an issue for you? Angular-busy intentionally adds that class so it can layout the overlay correctly. Usually adding position:relative to an element is inconsequential. Does it affect something in your case?

@katmai7
Copy link
Author

katmai7 commented Sep 18, 2014

Yes, it's problem. It is necessary to remove this rule, if the tag doesn't have this css property.

@cgross
Copy link
Owner

cgross commented Sep 18, 2014

Could you help me understand why its a problem. I'm interested to know why its affecting you.

@katmai7
Copy link
Author

katmai7 commented Sep 18, 2014

I create plunker http://plnkr.co/edit/dsXpPrQfHfTrgm9c91bJ?p=preview.
So u can see how position:relative affect on block inside div.wrap. I don't want position div.pos relatively div.wrap.

@cgross
Copy link
Owner

cgross commented Sep 18, 2014

Ah I see. You have some absolutely positioned content inside the div. If the position:relative is removed from the div after the promise is complete - does that really solve the problem? Would the text still be incorrect while the promise is running and the busy message is shown?

@katmai7
Copy link
Author

katmai7 commented Sep 18, 2014

Yes, it's solve problem. The main idea, that plugin must return initial state of tag(like jquery plugin).

@kencaron
Copy link

I don't know of an easy solution for this. But this relative positioning is making this unable to apply to a table's tbody without losing styling. I have a table that you can delete rows from serverside, and I was hoping to use cg-busy on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants