@ibragim-dev-org/ui-forge-library 1.1.2 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1798,8 +1798,7 @@ class UiDropdownService extends UiPopupService {
|
|
|
1798
1798
|
if (fetchedParameters.hasAttachedWidth) {
|
|
1799
1799
|
attachedWidth = attachedRef.clientWidth;
|
|
1800
1800
|
}
|
|
1801
|
-
|
|
1802
|
-
if (this.popupInstances.length) {
|
|
1801
|
+
if (fetchedParameters.removePrevious && this.popupInstances.length) {
|
|
1803
1802
|
this.destroyOutsideClickSubscription$.next();
|
|
1804
1803
|
}
|
|
1805
1804
|
if (fetchedParameters.removePrevious && this.popupInstances.length) {
|
|
@@ -1831,8 +1830,7 @@ class UiDropdownService extends UiPopupService {
|
|
|
1831
1830
|
*/
|
|
1832
1831
|
openAtMousePosition(component, event, id, parameters = {}) {
|
|
1833
1832
|
const fetchedParameters = this.fetchDropDownParameters(parameters);
|
|
1834
|
-
|
|
1835
|
-
if (this.popupInstances.length) {
|
|
1833
|
+
if (fetchedParameters.removePrevious && this.popupInstances.length) {
|
|
1836
1834
|
this.destroyOutsideClickSubscription$.next();
|
|
1837
1835
|
}
|
|
1838
1836
|
if (fetchedParameters.removePrevious && this.popupInstances.length) {
|