coudrak
coudrak
Is the problem still there with iOS 12, 13 and 14 ? I don't have an iPhone to test and don't want to use autosize if it bugs for my...
In PHP 7.1, "Support for negative offsets has been added." to file_get_contents(). Change $offset = -1 by $offset = 0 in the simple_html_dom.php file: > ``` > function file_get_html($url, $use_include_path...
For example, in my case, I "zoom out" my page by 75% on mobile screens less than 360px wide, in this way: ``` :root { font-size: 75%; } ``` I...
My fix for this problem: ``` lightbox.on('afterInit', () => { document.querySelector('.pswp__container').addEventListener('touchstart', function(e) { e.preventDefault(); e.stopPropagation(); }); }); ```
Need a callback. Look at this example: $('#background-video').YTPlayer({ fitToBackground: true, videoId: 'Fk9EBOOAYiU', pauseOnScroll: true, callback: function() { videoCallbackEvents(); } }); var videoCallbackEvents = function() { var player = $('#background-video').data('ytPlayer').player; player.addEventListener('onStateChange',...
So I've just did a CodePen : https://codepen.io/drakou/pen/zYyOPYo with "click focus" combined. (click the button again doesn't close the popover)
Ah, for me this is not a logical behavior... The click trigger used alone closes when clicked twice, so it should work the same even when combined with focus. Actually...