Skip to content
New issue

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

Width calculation rounding - Edge browser #541

Open
jbizkit opened this issue Nov 27, 2017 · 0 comments
Open

Width calculation rounding - Edge browser #541

jbizkit opened this issue Nov 27, 2017 · 0 comments

Comments

@jbizkit
Copy link

jbizkit commented Nov 27, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant