Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit dfba062

Browse files
dokmicmmalerba
authored andcommitted
fix(select): perform full cleanup of the select drop-down after the close (#11448)
it affects on the drop-down size if resize is happening after using the select Fixes #11447
1 parent 6596cc7 commit dfba062

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/components/select/select.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1250,7 +1250,15 @@ function SelectProvider($$interimElementProvider) {
12501250
element
12511251
.removeClass('md-active')
12521252
.attr('aria-hidden', 'true')
1253-
.css('display', 'none');
1253+
.css({
1254+
'display': 'none',
1255+
'top': '',
1256+
'right': '',
1257+
'bottom': '',
1258+
'left': '',
1259+
'font-size': '',
1260+
'min-width': ''
1261+
});
12541262
element.parent().find('md-select-value').removeAttr('aria-hidden');
12551263

12561264
announceClosed(opts);

0 commit comments

Comments
 (0)