Anton

Results 18 comments of Anton

@Caine-Boelhouwer ```js $(this).fdatepicker(/*options*/) .on('hide', function hide() { $(this).fdatepicker('remove'); $(this).off('hide', hide); }); ``` I deleted from DOM using `remove` Unbind event using `off`

имеется же ввиду удалить defaultProps, и в сигнатуре функции их прописать - это и нужно сделать разработчику пакета

I had to calculate the current real index myself ```ts const getRealSlideIndex: GetRealSlideIndex = (stateParams, index) => { const [state] = stateParams const { swiper } = state const slides...

in this case there is no error, but an error appears when entering: TypeError: Cannot read properties of undefined (reading 'setSelectionRange') ```ts ( ))} /> ```

> Adding the [cdn swiper files](https://swiperjs.com/get-started#use-swiper-from-cdn) in document.tsx, helped me resolve this issue: > > ``` > rel="stylesheet" > href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css" > /> > > > ``` I use app router...

> > > Adding the [cdn swiper files](https://swiperjs.com/get-started#use-swiper-from-cdn) in document.tsx, helped me resolve this issue: > > > ``` > > > > > rel="stylesheet" > > > href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css" >...