Skip to content

Menu widget submenu alignment #7897

Closed
Closed
@slackerzz

Description

@slackerzz

Preconditions

  1. Magento 2.0.x, 2.1.x

Steps to reproduce

  1. hover a menu item which contains some nested elements

Expected result

  1. the submenu relative to the "Bottoms 2" element in the image should be aligned next to it

Actual result

menu
If you move your mouse slowly you'll never be able to click any of the submenu items

The js from the widget calculates coordinates for the submenu:
coords

but then we have this LESS
https://github.com/magento/magento2/blob/develop/lib/web/css/source/lib/_navigation.less#L403

Simply removing the to !important rules does not fix the problem, there is something wrong also in the coords calculated via js

Since this widget is based on https://jqueryui.com/menu/ that works as expected i think that something went wrong and someone tried to fix it with an !important to overwrite an inline style added via js

Metadata

Metadata

Labels

Component: CatalogFixed in 2.1.xThe issue has been fixed in 2.1 release lineFixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.1.xThe issue has been reproduced on latest 2.1 releaseReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releasebug reporttriage wanted

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions