Hi,
I had a question about Popup/PopupMobile of Search widget (Web AppBuilder Developper 2.1).
On mobile mode, PopupMobile is used. Event hide/show are start off when user maximize or minimize PopupMobile.
On no mobile mode, Popup is used. No event is start off when user maximize or minimize Popup.
To see add folowwing code in startup function (..\widgets\Search\Widget.js):
// Add log in console ==> show event on infoWindow
this.own(
on(this.map.infoWindow, 'show', lang.hitch(this, function() {
console.log("[widgets][Search][Widget][startup] infoWindow ==> show");
}))
);
// Add log in console ==> hide event on infoWindow
this.own(
on(this.map.infoWindow, 'hide', lang.hitch(this, function() {
console.log("[widgets][Search][Widget][startup] infoWindow ==> hide");
}))
);
Why there is behavior difference between Popup and PopupMobile in Search Widget ?
About PopupMobile is it normal to start off hide event when maximize? because it start off the reset search (graphic is deleted).
Thanks,
Flavie
About the fact that graphic is deleted when maximize PopupMobil there is a bug :
BUG-000099349 - Searching for a location in a Web AppBuilder for ArcGIS application does not retain the search result point when used on a mobile device.
Finally regarding question about event I am still unanswered. I will try support side.
About behavior difference between Popup and PopupMobile there is a bug :
BUG-000099950 - Popup and PopupMobile behave differently when calling show and hide event for minimize and maximize