NightCatSama/vue-slider-component

[SSR] [VUE2] CSS Property webkit-transform doesn't exist

or2e opened this issue · 1 comments

or2e commented

For the Dot element the css property webkit-transform is not correctly set.

<div role="slider" ... class="vue-slider-dot" style="... transform: translate(-50%, -50%); webkit-transform: translate(-50%, -50%); ...">

It might be worth using the vendor prefix ({'-WebkitTransform': ...}) in this lines:

WebkitTransform: `translate(${this.isReverse ? '50%' : '-50%'}, -50%)`,

WebkitTransform: `translate(-50%, ${this.isReverse ? '50%' : '-50%'})`,

If it is convenient, you can provide a pr to fix it.