Prtksxna has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/341497 )
Change subject: CapsuleMultiselectWidget: Update popup position if height
changed
......................................................................
CapsuleMultiselectWidget: Update popup position if height changed
Bug: T159801
Change-Id: I352b991cb89f39d2bec97c5e67f532c3c68a7e8d
---
M src/widgets/CapsuleMultiselectWidget.js
1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/97/341497/1
diff --git a/src/widgets/CapsuleMultiselectWidget.js
b/src/widgets/CapsuleMultiselectWidget.js
index 77cb2d4..8753901 100644
--- a/src/widgets/CapsuleMultiselectWidget.js
+++ b/src/widgets/CapsuleMultiselectWidget.js
@@ -718,6 +718,10 @@
if ( height !== this.height ) {
this.height = height;
this.menu.position();
+ if ( this.popup ) {
+ console.log( 'updating' );
+ this.popup.updateDimensions();
+ }
this.emit( 'resize' );
}
};
--
To view, visit https://gerrit.wikimedia.org/r/341497
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I352b991cb89f39d2bec97c5e67f532c3c68a7e8d
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Prtksxna <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits