Swipe
Swipe copied to clipboard
Width calculation rounding - Edge browser
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.