Closed MaksTrader closed 2 years ago
Hi. Please help. The close and download button is missing on mobile devices. I add ed
but it not working for me.
i use \dynamikaweb\lightgallery\LightGallery::widget([ in Yii2.
How can I show the close button in the upper right corner?
Thank you.
Yes. I use /**
This works fine for me. could be the issue with the widget that you are using. It would be helpful to debug the issue if you could provide a demo URL
Greetings. Thank you for your reply. Here's a working site https://worldtokenwall.com. Please? open the image in the upper left corner. On mobile.
You are right, it looks like the widget does not use these optio ns
Yes, I think you should report this issue to them. Even if I provide a workaround that could break in the upcoming versions.
let me know if you need any other assistance from my side
Thank you. Your advice was very helpful.
Made an additional js file like this,
$("map-conteiner").lightGallery({ mobileSettings: [{ controls: true, showCloseIcon: true, download: false }] })
added it to Widget Assets
and everything worked.
The question can be closed.
Description
Describe the issue that you're seeing.
Steps to reproduce
Clear steps describing how to reproduce the issue. Please please please link to a demo project if possible, this makes your issue much easier to diagnose (seriously).
Expected result
What should happen?
Actual result
What happened.
Additional context