Skip to content

Commit ee49878

Browse files
committed
MAGETWO-91504: Mobile PDP accordion widget hides accordion content on phones with iOS
- fix scroll out of screen
1 parent f8b3385 commit ee49878

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/web/mage/collapsible.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,7 @@ define([
448448
if (this.options.animate) {
449449
this._animate(showProps);
450450
} else {
451+
this.content.get(0).parentElement.scrollIntoView();
451452
this.content.show();
452453
}
453454
this._open();

0 commit comments

Comments
 (0)