tiny-slider icon indicating copy to clipboard operation
tiny-slider copied to clipboard

Not working in shadow DOM

Open DominicBoettger opened this issue 6 years ago • 6 comments

The slider does only slide a few pixels if embedded into a shadow dom. Works well without using shadow dom.

      container: this.container.shadowRoot.querySelector('.my-slider'),
      items: 1,
      slideBy: 'page',
      autoplay: true,
      mouseDrag: true,
      controls: false,
      nav: false,
      autoplayButtonOutput : false,
      autoplayResetOnVisibility: true

Version: 2.4.1

DominicBoettger avatar Jan 09 '18 15:01 DominicBoettger

Didn't test in shadow dom, will check it when I have a Chance. Thanks for your feedback.

ganlanyuan avatar Jan 12 '18 20:01 ganlanyuan

Still not working in shadow DOM. Not even if only the parent is a shadow DOM element and the slider container is non-shadow DOM. Same odd, broken behaviour.

olivermuc avatar Mar 24 '19 17:03 olivermuc

I'm trying to use this inside a lit-element project, and it's not working either. Has anyone made any progress with getting this resolved?

kr05 avatar Jan 07 '20 20:01 kr05

I'm also facing the same issue. :(

JithinAji avatar Oct 08 '21 09:10 JithinAji

same issue

saidaLachgar avatar Feb 07 '22 10:02 saidaLachgar

is there any update bro? I'm going crazy, please help

santowilem avatar Sep 02 '22 04:09 santowilem