GeoloeG/iron-swipeable-pages

user-select

eskan opened this issue · 5 comments

eskan commented

Hello,
very useful element !
Please let me know why you activate user-select : none as it prevent (for my test on chrome only) fired events and use button in pages. In fact i'm pretty sure i've missed something :D
thanks,
Cyrille

Hi Cyrille (@eskan) (I am too from Lorraine, Longwy! :) )
I do this because of the swipe to avoid the swipe to select some text...
Cheers,
Pascal

eskan commented

He .. from Metz .. Neighbour !

my question is about that part of CSS :

 :host > ::content * {
      pointer-events: none;
      -webkit-user-select: none;  
      -moz-user-select: none;     
      -ms-user-select: none;      
      user-select: none;       
      cursor: default;
 }

I gave you the answer! :)

eskan commented

I've read another answer you wrote about behaviors ... we are too closed ;)
For now i'm using your SO USEFUL element for mobile to emulate a android view pager, bind to a paper-tabs
There's some issue for that : swipe prevent scrolling page.
I'll keep you in touch and i hope i'll we be able to submit PR :d

Yep, pas de soucis!