We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A slider has a frame width calculation bug in IE and Edge due to percent rounding. The bug is very noticable when frames have an image background.
My quick patch:
Object.defineProperty(Siema.prototype, 'buildSliderFrameItem', { value: function(elm) { const elementContainer = document.createElement('div'); elementContainer.style.cssFloat = this.config.rtl ? 'right' : 'left'; elementContainer.style.float = this.config.rtl ? 'right' : 'left'; elementContainer.style.width = `${this.selectorWidth / this.perPage}px`; // fix elementContainer.appendChild(elm); return elementContainer; } });
https://codepen.io/steam-rabbit/pen/pYzzRw
The text was updated successfully, but these errors were encountered:
No branches or pull requests
A slider has a frame width calculation bug in IE and Edge due to percent rounding.
The bug is very noticable when frames have an image background.
My quick patch:
https://codepen.io/steam-rabbit/pen/pYzzRw
The text was updated successfully, but these errors were encountered: