I am using a custom control for popover, like this:
sap.ui.define([
"sap/m/Popover"
], function(Popover) {
"use strict";
return Popover.extend("name of controle", {
init: function() {
Popover.prototype.init.apply(this, arguments);
this.oPopup.setAutoClose(false);
},
renderer : "sap.m.PopoverRenderer"
});
});
And I use this custom popover element as follows:
<core:FragmentDefinition
xmlns="sap.m"
xmlns:core="sap.ui.core"
xmlns:path="path to custom popover"
>
<path:CustomPopover
placement="Left"
contentHeight="80%"
contentWidth="25%"
>
<path:content>
</path:conent>
</path:CustomPopover>
</core:FragmentDefinition>
Now, if I use this snippet to create a Popover, the event selectcontinues to emit for this search field.
2017-02-15 09: 53: 47.456659 Event triggered: 'select' on Element sap.m.SearchField #__ field0 - sap.ui.core.UIArea
This popover works fine in chrome state even after continuous emission of an event, but in Internet Explorer, it continues to render, so it cannot use it. How to fix it?
source
share