Eugene

Results 10 comments of Eugene

My work-around ```JavaScript const modals = document.querySelectorAll('.js-modal-slide'); // select all modals on the page modals.forEach(element => { // iterate over all modals if(element.classList.contains('is-open')) { // find currently active element.querySelector('.js-modal-close-button').click(); //...

> > My work-around > > ```js > > const modals = document.querySelectorAll('.js-modal-slide'); > > // select all modals on the page > > > > modals.forEach(element => { >...

@ganlanyuan hi. Any updates here? It's very useful feature. It will be nice if you will push this feature. Thanks)

``` import { tns } from "tiny-slider/src/tiny-slider" import debounce from "functions/debounce"; export default sliderContainer => { let isInit = false; let slider = tns({ container: `${sliderContainer}`, items: 1, nav: false,...

> @WebDevMaster2016 what's the npm package you've utilized here for the debounce function? Can't seem to spot the proper one from my research.. Hi @melbazany . It's my own local...

@melbazany it can be caused by this - `slider = slider.rebuild();` . In API we can find more details ``` slider = slider.rebuild(); // this method returns a new slider...

@melbazany thank you very much for these words!!! I thought about the problem for a bit. You should experiment with adding the slide index to the variable. Something like this:...

Use the previous build(v1.5.10). The current is broken.

> Hacky solution: https://codesandbox.io/s/react-scroll-issue-forked-pdczf?file=/src/App.tsx @ugnelis Thanks for the working solution. @fisshy Tell me please, when can this become part of the library itself? Just to display the list using `map`...

> @WebDevMaster2016 I am not a maintainer of this library, By the way, I have stopped using `react-scroll` because it is too buggy and unpredictable (e.g., random jumps). I had...