-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Empty dialog on elfinder load #1824
Comments
I can not reproduce such a problem. Is there a similar problem even if elFinder is used standalone? |
@nao-pon, I found that the error occur only when the elfinder container is initially hidden. In my case I'm using elfinder inside bootstrap collapse but you can reproduce the error setting the elfinder container display property to none and change it in browser developer console. I don't know why but you will reproduce the error more easily with a fresh opened browser. In this way the error always occur but if other tabs or windows of the same browser are opened the error occur very randomly. |
I can't see yet that error. -> online test case and output for check |
With a small width as in your capture I had dificulty to reproduce the error too. Try with this link: http://output.jsbin.com/kowuqi. As you can see in my capture, instead of waiting about 5 seconds you can monitore when the ajax call ends, so you can click, It seems the problem is related with the initial 'loading' dialog header not being removed if the container is hidden. In my capture you see that if I change to a folder that takes a long time to load and you hide elfinder before the loading is complete, when click to show elfinder (after the folder is loaded) the empty dialog appear. |
@jhon100 OK, I got it! You are right so I'll fix it. Please wait until fix it. Thanks! |
Thanks a lot @nao-pon . |
I'm not sure if the problem is related with the change made in #1814 , because before that I was using version 2.1.18, but after I updated to
https://github.com/Studio-42/elFinder/tree/42002388bc6f64c56daedb3e95ebdf9bbd946cec#downloads >
elFinder 2.1.x (Nightly)
Some times on load, an empty dialog appear in elfinder area.
Is not easy to reproduce the error as it occur very randomly. Most of the time the empty dialog does not appear.
The markup of the empty dialog is this:
The text was updated successfully, but these errors were encountered: