Closed iaroslavshvets closed 7 years ago
Is not a fix in all cases :((
я тоже не понял, как это фиксит проблему. и саму проблему не очень. по ссылке говорится, что клик должен работать:
'click' is the only event that is a legacy permitted case.
далее, раньше в ФФ програмный клик реально не работал, если элемент не был всунут в документ - если речь об этой проблеме, фикс должен был бы по идее его цеплять перед и отцеплять после клика. но по уму эта логика д б на стороне приложения.
Last commit is actually correct, only the previous didn't fix all cases. I understand what you mean, but element is inside DOM, so it's not the case.
Fix: jBone's
trigger('click')
didn't work in Firefox and stopped working in new Chrome after last update: https://www.chromestatus.com/features/5718803933560832