Skip to content

Magento Pages Width does not match anymore for Long width content after 2.4.6 upgrade #37459

Closed
@irajneeshgupta

Description

@irajneeshgupta
Member

Preconditions and environment

  • Magento version 2.4.6

Steps to reproduce

  1. Navigate Product Grid
  2. Add atleast 10 more column visible from columns dropdown.
    3.Scroll down till last content and then scroll right. You will see the page width did not match columns width.

Expected result

While adding more columns in any grid should match full page width. Issue was not there in 2.4.5

Actual result

https://www.awesomescreenshot.com/video/17084991?key=89cd19ad28a83ba4269abeb69dd005c6

Additional information

image

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
    Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
    Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
    Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
    Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Activity

m2-assistant

m2-assistant commented on May 4, 2023

@m2-assistant

Hi @irajneeshgupta. Thank you for your report.
To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:


Join Magento Community Engineering Slack and ask your questions in #github channel.
⚠️ According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.
🕙 You can find the schedule on the Magento Community Calendar page.
📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.

irajneeshgupta

irajneeshgupta commented on May 4, 2023

@irajneeshgupta
MemberAuthor

@magento give me 2.4-develop instance

magento-deployment-service

magento-deployment-service commented on May 4, 2023

@magento-deployment-service

Hi @irajneeshgupta. Thank you for your request. I'm working on Magento instance for you.

self-assigned this
on May 4, 2023
m2-assistant

m2-assistant commented on May 4, 2023

@m2-assistant

Hi @engcom-Bravo. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: 👇

  • 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
    2. Verify that issue has a meaningful description and provides enough information to reproduce the issue.
    3. Add Area: XXXXX label to the ticket, indicating the functional areas it may be related to.
    4. Verify that the issue is reproducible on 2.4-develop branch
    Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
    5. Add label Issue: Confirmed once verification is complete.
    6. Make sure that automatic system confirms that report has been added to the backlog.
irajneeshgupta

irajneeshgupta commented on May 4, 2023

@irajneeshgupta
MemberAuthor
engcom-Bravo

engcom-Bravo commented on May 4, 2023

@engcom-Bravo
Contributor

Hi @irajneeshgupta,

Thank you for reporting and collaboration.

Verified the issue on Magento 2.4-develop instance and Magento 2.4.6 instance and the issue is reproducible.Kindly refer the screenshots.

Steps to reproduce

  • Navigate Product Grid
  • Add atleast 10 more column visible from columns dropdown.
  • Scroll down till last content and then scroll right. You will see the page width did not match columns width.

Magento 2.4-develop instance

Screenshot 2023-05-04 at 1 03 33 PM

Screenshot 2023-05-04 at 12 53 44 PM

Magento 2.4.6 Instance

Screenshot 2023-05-04 at 12 53 52 PM

Pages Width does not match with long width content.

Hence Confirming this issue.

Thanks.

11 remaining items

drinkingsouls

drinkingsouls commented on May 31, 2023

@drinkingsouls

Was there any temp fix for this issue?

epson121

epson121 commented on Sep 27, 2023

@epson121

@drinkingsouls you can patch it for now with this

diff --git a/vendor/magento/theme-adminhtml-backend/Magento_Ui/web/css/source/module/_data-grid.less b/vendor/magento/theme-adminhtml-backend/Magento_Ui/web/css/source/module/_data-grid.less
index e8d6472ce..8f6c6bf00 100644
--- a/vendor/magento/theme-adminhtml-backend/Magento_Ui/web/css/source/module/_data-grid.less
+++ b/vendor/magento/theme-adminhtml-backend/Magento_Ui/web/css/source/module/_data-grid.less
@@ -42,6 +42,7 @@
     margin-bottom: 2rem;
     max-width: 100%;
     padding-bottom: 1rem;
+    overflow-x: auto;
     padding-top: @data-grid-header-row__indent;
 }
 

It reverts the old behaviour.

moved this to Pull Request In Progress in High Priority Backlogon Aug 19, 2024
engcom-Bravo

engcom-Bravo commented on Feb 4, 2025

@engcom-Bravo
Contributor

Hi @irajneeshgupta,

Thanks for your reporting and collaboration.

We have verified the issue in Latest 2.4-develop instance and the issue is no more reproducible.Kindly refer the attached video.

Screen.Recording.2025-02-04.at.4.12.28.pm.mov

While adding more columns in any grid was matching full page width.

Hence we are closing this issue.

Thanks.

hewgim

hewgim commented on Apr 11, 2025

@hewgim

Hi @engcom-Bravo But the issue does still exist in 2.4.6-p10. Do you know which versions the fix has been applied to ?

Regards

Mark

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Area: Admin UIComponent: UiIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: PR in progressReported on 2.4.6Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Participants

    @epson121@adamphh@irajneeshgupta@hewgim@drinkingsouls

    Issue actions

      Magento Pages Width does not match anymore for Long width content after 2.4.6 upgrade · Issue #37459 · magento/magento2