You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. Thanks to you for the plugin :)
But I have a problem with latest 4.3.6 version when using it with tabs (for example bootstrap).
For example, fileupload plugin initialized with initial preview files and in element which currently hidden in tab. But jquery with :visible selector seems can't to catch preview elements for attaching some event handlers.
If I remove only :visible selector from .file-preview-frame, .kv-file-remove, .file-preview-success, .kv-file-upload classes - it works fine (as it was in previous versions <4.3.6)
(temporarily) cgi-cgi@9a1cd71 cgi-cgi@c2ac1c4
The text was updated successfully, but these errors were encountered:
First of all: thanks for all your plugins :) @kartik-v
IMHO, it's better to remove :visible from this line. It worked okay in version 4.3.5, and in version 4.3.6 :visible selector added, and of course, if fileinput is not visible on document loading, it won't work.
To re-init plugin, required to setup additional hooks (tab switching, etc), but w/o :visible selector it's not required at all. I'm not lazy, just surprised, when it stopped to work after months. Any real purpose to use visibility check here?
Hi. Thanks to you for the plugin :)
But I have a problem with latest 4.3.6 version when using it with tabs (for example bootstrap).
For example, fileupload plugin initialized with initial preview files and in element which currently hidden in tab. But jquery with :visible selector seems can't to catch preview elements for attaching some event handlers.
Tab inactive - https://jsfiddle.net/bjdomn08/11/ - not working (click on "delete" file, nothing happens)
Tab active - https://jsfiddle.net/bjdomn08/12/ - working (click on "delete file, request for deletion happens)
If I remove only :visible selector from .file-preview-frame, .kv-file-remove, .file-preview-success, .kv-file-upload classes - it works fine (as it was in previous versions <4.3.6)
(temporarily)
cgi-cgi@9a1cd71
cgi-cgi@c2ac1c4
The text was updated successfully, but these errors were encountered: