



I've found a really strange behavior, when the minicart dropdown is shown any style modification to the page through the inspector will fix the misplaced elements.
Also the same for 2.1.3
@slackerzz Thanks for reporting this issue.
This issue is already addressed in internal ticket MAGETWO-63089. I鈥檝e added your report on this issue to that ticket.
@xmav since it's not possible for us to track your internal tickets, can you tell if there is a solution/workaround?
@slackerzz this issue will be closed in sync with internal ticket
You can try to tweak the position css of .minicart-wrapper .ui-dialog. Try static or absolute
I have something like this somewhere in some theme css:
.minicart-wrapper .ui-dialog {
position: absolute;
width: 0px;
height: 0px;
top: 100%;
left: 100%;
}
Still gives a strange glitching flash in IE9 and sometimes in safari on mac, but then it's fine. Doesn't do this on ios though.
Setting static width for the mini cart icon wrapper fixed this issue for me:
.minicart-wrapper {
width: 22px;
}
My fix is something close to what @Quinten did except no positioning since the child has the style we need ( if you correctly use .lib-dropdown()
.minicart-wrapper .ui-dialog {
width: 0;
}
Tested crossbrowser and works without flickering
It would be nice to know what happened to MAGETWO-63089
@Patruvlad, Could you write where exactly these lines were written?
@Flamestyle sure thing, you need to write the following codes of line in Magento_Checkout/web/css/source/module/_extend.less if you have a custom theme with inheritance from the Magento_Blank. If you have a custom file something like _minicart_extend.less that is included in the _extend.less set it in the custom style file
.minicart-wrapper{
> .mage-dropdown-dialog {
width: 0;
}
}
@slackerzz, thank you for your report.
We've created internal ticket(s) MAGETWO-63985 to track progress on the issue.
Hi, everyone!
You can use this commit as patch to fix an issue)
The issue has been fixed in 2.1-develop branch and will be available with next patch release
Most helpful comment
My fix is something close to what @Quinten did except no positioning since the child has the style we need ( if you correctly use .lib-dropdown()
Tested crossbrowser and works without flickering