Skip to content
This repository was archived by the owner on Jul 8, 2025. It is now read-only.
This repository was archived by the owner on Jul 8, 2025. It is now read-only.

Chrome Update version 80 causes wrong calculation of Carousel track width on resizing #251

@alicemao23

Description

@alicemao23

Issuehunt badges

Describe the bug
Update to Chrome version 80.0 is creating error calculation on the window object's innerWidth value. Using mobile tools on different device size, and logging window.innerWidth renders 1500px for device width viewPort of 375, etc. Continuous resizing will compound the size of the window's innerWidth. This behaviour is not replicated in other browsers (tested on safari & firefox atm)

To Reproduce
Steps to reproduce the behavior:

  1. Update chrome browser to version 80
  2. Run a page with the carousel displayed on the DOM
  3. Open the inspector tool to log window.innerWidth
  4. See error

Expected behavior
window.innerWidth should be showing the same px as the px size of the viewPort

Screenshots
Screen Shot 2020-02-10 at 11 32 55 AM

Desktop (please complete the following information):

  • OS: MacOS Mojave
  • Browser: Chrome
  • Version 80.0.3987.87

IssueHunt Summary

Backers (Total: $0.00)

Become a backer now!

Or submit a pull request to get the deposits!

Tips

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions