-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Fix problem actions dropdown positioned incorrect #31413
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
Fix problem actions dropdown positioned incorrect #31413
Conversation
Hi @mrtuvn. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Please run only needed test builds instead of all when developing. Please run all test builds before sending your PR for review. For more details, please, review the Magento Contributor Guide documentation. 🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of Pull Requests happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
07ef2c1
to
034f3e2
Compare
034f3e2
to
e3b6de7
Compare
e3b6de7
to
0931730
Compare
code rebased |
@magento run all tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @mrtuvn,
It seems like this change caused a regression - some links became not clickable. Could you double-check and fix that?
@mrtuvn as you can see in test results - the issue appears for the latest element: |
i will check that again |
0931730
to
291f3d1
Compare
@magento run all tests |
Hi @ihor-sviziev, thank you for the review. |
@sivaschenko @gabrieldagama @sdzhepa , can we increase priority for this PR? It significantly improves user experience, when you're working with long-width grids. PS: This issue was already fixed in 2017 in #10082, then it came back :( |
52f2147
to
2c67e3c
Compare
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
2c67e3c
to
8428645
Compare
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@magento run Functional Tests B2B, Functional Tests CE, Functional Tests EE, Unit Tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@magento run Functional Tests CE, Functional Tests EE |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
✔️ QA Passed Manual testing scenario:
Actual Result: ✔️
After: ✔️
After: ✔️
After: ✔️
Tested all the manual scenarios, no impact on regression testing. |
@magento run Functional Tests B2B |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
Hi @mrtuvn, thank you for your contribution! |
Issue seem related with styles code. Before this patch dropdown position always show in right of grid and not correct position anymore when we move action to left.
Annoying issue when owner store move action column to near center of grid and grid have lot of columns
Issue can reproduce at cms page listing page with draggable actions column with some extra additional column
Before the fix

After apply this fix

Only small problem but i think this can acceptable
at the last item row. When click on actions link, downdown show but come with scroll vertical overlap some parts of dropdown content. May require user have to scroll down a bit to view entire all actions.
Here is example grid in product variants configurable product page in admin

Test case 1
Actions column drag to middle of grid have multiple columns
Previously: When user click active action, dropdown moved to far right side, unaccessable to click require scroll to last column to visible
Current: dropdown show in correct position right below action link
Test case 2
Re-test in smaller screen (1200px)
Actions column at last position when active dropdown display correct without jump of of block
Test case 3
No overflow with table have long width. Scrollbar horizontal will auto-show on demand at small screen resolution
Description (*)
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
Questions or comments
As long as this action column at the last of table this issue will not able to happen. Dropdown will show correct as we expected
Should we allow admin can draggable this column ? In some case we will drag it to the end
Contribution checklist (*)