craftcms / craftcms/cms

Widgets overlapping

Open
#8,085 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
PHP
Stars
3.6k
Forks
705
Avg merge
1d 5h
Merged PRs (30d)
134

Description

Description

We have two “Total Revenue Settings” widgets stacked vertically. When we change the settings of the first one (from “Past 30 Days” to “Past 7 Days”, for instance), the second widget moves up and overlaps the first one:

CleanShot 2021-06-17 at 13 39 13@2x

Steps to reproduce
  1. Add 2 “Total Revenue Settings” widgets, one on top of another, on the Dashboard.
  2. Click on the little cog icon on the top right corner of the first widget.
  3. Change the value of the “Date Range” field.
  4. Click “Save”.
  5. Notice the second widget is now overlapping the first.
Additional info
  • Craft version: 3.6.12
  • PHP version: 7.4.13
  • Database driver & version: MySQL 5.5.5
  • Craft Commerce: 3.3.2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue on the Dashboard with two vertically stacked “Total Revenue Settings” widgets, following the listed date-range change and save steps. Investigate the widget layout behavior after the first widget changes size; done means the second widget no longer overlaps the first after saving.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.