Adjust when the overlay label appears
rogger-frogger opened this issue · comments
rogger-frogger commented
Thank you for this library.
Is it possible to adjust when the overlay label appears? At the moment, it's a bit delayed, user needs to shift the card almost half way through for it to start showing. How can I adjust this so that it starts onDragStart e.g. or as soon as user touches the card? Thanks
TuanPV commented
You can resolve it by add this props to Swiper:
inputOverlayLabelsOpacityRangeX={[-width / 3, -1, 0, 1, width / 3]} overlayOpacityHorizontalThreshold={1}
rogger-frogger commented
@aupous thank you very much !
TuanPV commented
@rogger-frogger you are wellcome :D