Swipe icon indicating copy to clipboard operation
Swipe copied to clipboard

Width calculation rounding - Edge browser

Open jbizkit opened this issue 7 years ago • 0 comments

The width calculation of the parent of swipe-element creates an issue wherein the last swipe-element does not display on higher resolutions 1920x1080. On lower resolution this problem does not seem to occur.

The issue being with the Math.round for calculating the width of the parent.

For example I'm displaying 63 images in the swipe inside modal, the width is 76185px in Chrome and in Edge is 76185.69px but the last image does not display, if I go and increase the width by one pixel the image display. This does not occur for the cases only for some only in Edge browser.

jbizkit avatar Nov 27 '17 06:11 jbizkit