Skip to content

Charts are not resizing on landscape view on mobile after update #847

@Skystream96

Description

@Skystream96

Description:

The charts are not resizing anymore after the last update if you switch to landscape view on mobile unless you refresh the page. However, if you roll back to version 3.6.1 everything works as expected.

This issue cannot be reproduced with Chrome Developer tools, it can only be reproduced on physical mobile devices.

Also, there are no errors in the console nor in the parrot logs.

How to reproduce:

  1. Have Visualizer installed and create a line chart for example.
  2. Place it on a page on your website.
  3. Open the website on a mobile device.
  4. Scroll to where you can see the chart, then turn the mobile device in landscape view.
  5. Observe how the chart size remains the same as before switching the view mode.

Expected behaviour:

Charts resize properly after switching to landscape view.

Current behaviour:

Charts do not resize properly. The initial size remains.

Reference:

Screencast of issue reproducing on version 3.7.0:https://d.pr/2bA9y6
Screencast of charts resizing properly on version 3.6.1: https://d.pr/SLDeNP
User reported it here:https://secure.helpscout.net/conversation/1654983065/295372?folderId=212390

Technical info

  • WordPress version: 5.8.1
  • Plugin version: 3.7.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis label could be used to identify issues that are caused by a defect in the product.releasedIndicate that an issue has been resolved and released in a particular version of the product.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions