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

Bad position #18

Open
Mxater opened this issue Sep 2, 2018 · 4 comments
Open

Bad position #18

Mxater opened this issue Sep 2, 2018 · 4 comments

Comments

@Mxater
Copy link

Mxater commented Sep 2, 2018

When use loading, and the origin element is modified, the loading layer still in the position, showing in bad position.

imagen

@lucawen
Copy link

lucawen commented Apr 23, 2019

Waiting a fix too... You have any fix for this ?

@Mxater
Copy link
Author

Mxater commented Apr 23, 2019

Not I dont have fix, I only use global loading to avoid this.

@lucawen
Copy link

lucawen commented Apr 26, 2019

I just create a function for create new loading for a div, passing the id of the div, and when i will 'close' the loading, i use the "destroy" call.
overlayMapping is a div for store all loading overlays. Can be in the end of page.

var _startLoading = function (item) {
        var html = `
        <div class="custom-overlay" id="idOverlay${item.replace("#", "")}">
            <div class="loading-spinner-container">
            <div class="lds-ring"><div></div><div></div><div></div><div></div></div>
            </div>
        </div>`;
        var el = $(html).appendTo("#overlayMapping");
        $(item).loading({
          overlay: el
        });
    }

@leijae
Copy link

leijae commented Feb 27, 2021

Is this the same as loading doesn't stick to element while scrolling? Open for 2 years? .... time to move on

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