-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Close preview button not working #1865
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
Comments
Not sure I can reproduce this. Can you check your console log for any javascript errors? Are you trying to have two bootstrap modals or something (like the fileinput widget inside another modal) which may conflict with the file input preview modal? |
For some reason, when using AdminLTE, the problem disappeared |
Hi, I have the same issue. When I click the zoom button, the modal cannot be closed. I created an empty page, only with Yii2 basic header and footer and still does not work.
|
Steps to reproduce: create a docker container with this
Inside the container, run following commands:
Add this line to config/params.php: Add this blokk to views/site/index.php: and
If you open the site at localhost:30004/web/, you can test the issue |
The widget works fine. The files are downloaded and displayed. But the Close preview window button does not work. That is, when I click on it, the modal preview window does not close. There are no errors in the console. Im using bootstrap 5
This button has a click event from yii.js. As I understand it, it will float up to kvFileinputModal. But there is no click event on it, there is a mousedown from bootstrap.js and it seems that it is not intercepted
The text was updated successfully, but these errors were encountered: