Media library widget renders hidden
Hi all,
I am trying to use Cloudinary media library widget. I followed the documentation to set it up as an embedded widget. For some reason, it is rendered hidden. I can go remove `visibility: hidden` inline style and it will show. I've tried to find a reason in StackOverflow, in docs, even read source code, but no luck in figuring this out. I will appreciate any help.
-
Hi Yaroslav,
Could it be that in your case the containing element is inheriting this property?
For example, I created a short JSFiddle (https://jsfiddle.net/Luah8rbo/) that implements the basic Widget inline and it is displayed correctly.
Are you able to share a reproducible code snippet where the Media Library Widget is hidden when used inline/embedded?
Best regards,
Aleksandar
1 -
Hi Aleksandar,
I finally figured out my problem. I thought that the inline media library should be visible automatically, but actually I need to open it using ml.show() method.
Thank you for JSFiddle. I helped a lot.
0
Post is closed for comments.
Comments
2 comments